diff options
| author | Jack Nagel | 2013-04-14 21:50:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-14 21:56:04 -0500 |
| commit | 5e9cfec8b8d3d5b33c14e1f9167adee5fd478c51 (patch) | |
| tree | f006c7acabc4e8830189d72f3447010895ad9504 /Library/Homebrew/cmd | |
| parent | 1bad199776c5225cf685cd5443041cb8c303ef0c (diff) | |
| download | brew-5e9cfec8b8d3d5b33c14e1f9167adee5fd478c51.tar.bz2 | |
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+.
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
