diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-19 04:58:36 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-19 04:58:36 +0000 |
commit | 7d1f48b5c3768aba7f742532f00dd3d5a404a819 (patch) | |
tree | cc5974a423a78150d3e682814e542e44b459b32f /ChangeLog | |
parent | 6009d184ff73b623ec4eaba1a636f8abd5747b4a (diff) | |
download | ruby-7d1f48b5c3768aba7f742532f00dd3d5a404a819.tar.gz |
* struct.c (struct_ivar_get): new function to avoid repeated
rb_intern() calls.
* struct.c (rb_struct_iv_get): use struct_ivar_get()
* struct.c (num_members): ditto.
* struct.c (rb_struct_s_members): ditto.
* class.c (rb_singleton_class): cache symbol to reduce calls to
rb_intern().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Tue May 19 13:54:15 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * struct.c (struct_ivar_get): new function to avoid repeated + rb_intern() calls. + + * struct.c (rb_struct_iv_get): use struct_ivar_get() + + * struct.c (num_members): ditto. + + * struct.c (rb_struct_s_members): ditto. + + * class.c (rb_singleton_class): cache symbol to reduce calls to + rb_intern(). + Tue May 19 07:52:05 2009 Tanaka Akira <akr@fsij.org> * test/test_time.rb: make tests timezone independent. |