Skip to content
Snippets Groups Projects
Commit 5e9cfec8 authored by Jack Nagel's avatar Jack Nagel
Browse files

Performance fix for Pathname#chop_basename

This is an internal method, but is called a bunch of times in
performance-critical codepaths, and is ultra slow because the constant
is interpoplated into the Regexp each time the method is called.

Alas, this has been fixed in Ruby 1.9+.
parent 1bad1997
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment