News for hackers. Stuff that matters.
Re:Making ActiveRecord 2x faster by nthj on Wednesday February 19, 2014 @06:41PM (#7267501)
I was really curious to see the pull request, so I hunted it down: https://github.com/sstephenson/sprockets/issues/506

Edit: if you just want to install a gem and skip the why, the parent has this blog post: https://www.coffeepowered.net/2014/02/09/faster-pathname/

Re:Making ActiveRecord 2x faster by cheald on Wednesday February 19, 2014 @07:16PM (#7267738)
It's worth noting that I don't really like faster_pathname as a solution. It's a cudgel that monkeypatches the stdlib Pathname. A proper solution would be a Pathname subclass that Sprockets uses directly, allowing for customized behavior without potential side-effects in other systems.