faster_pathname is a set of performance monkeypatches on the Ruby stdlib Pathname
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
faster_pathname.gemspec

README.md

FasterPathname

Build Status

Pathname is slow. This makes Sprockets slow. This gem patches some of the slowest methods in Pathname to make Sprockets fast.

See this issue for an overview of the issue.

Installation

Add this line to your application's Gemfile:

gem 'faster_pathname'

And then execute:

$ bundle

Or install it yourself as:

$ gem install faster_pathname

Usage

  1. Install gem
  2. Enjoy Sprockets being 25% faster

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request