aboutsummaryrefslogtreecommitdiffstats
path: root/lib/profile.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-22 08:48:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-22 08:48:44 +0000
commitcfe937b9b20fb356cf820c932616b6cdb603d4a1 (patch)
tree8d032e0e0438fd6683386e3767d6caf1b50cdae7 /lib/profile.rb
parent228b29a697f719f60f0a62e3cdf1bb8c991beba3 (diff)
downloadruby-cfe937b9b20fb356cf820c932616b6cdb603d4a1.tar.gz
forwardable.rb: reduce allocations in def_delegators
* lib/forwardable.rb (Forwardable::FILE_REGEXP): create regexp object outside sources for eval, to reduce allocations in def_delegators wrappers. //o option does not make each regexps shared. patch by tmm1 (Aman Gupta) in [ruby-core:53620] [Bug #8143]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/profile.rb')
0 files changed, 0 insertions, 0 deletions