aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-04-14 21:50:57 -0500
committerJack Nagel2013-04-14 21:56:04 -0500
commit5e9cfec8b8d3d5b33c14e1f9167adee5fd478c51 (patch)
treef006c7acabc4e8830189d72f3447010895ad9504 /Library/Homebrew/cmd
parent1bad199776c5225cf685cd5443041cb8c303ef0c (diff)
downloadbrew-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