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 /sample/dualstack-fetch.rb | |
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 'sample/dualstack-fetch.rb')
0 files changed, 0 insertions, 0 deletions