diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-22 08:48:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-22 08:48:44 +0000 |
commit | cfe937b9b20fb356cf820c932616b6cdb603d4a1 (patch) | |
tree | 8d032e0e0438fd6683386e3767d6caf1b50cdae7 /ChangeLog | |
parent | 228b29a697f719f60f0a62e3cdf1bb8c991beba3 (diff) | |
download | ruby-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Fri Mar 22 17:48:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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]. + Fri Mar 22 17:38:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn |