summaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-19 04:58:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-19 04:58:36 +0000
commit0d6b30776cf36d7eaabaaf1675e5697965ebe95b (patch)
treecc5974a423a78150d3e682814e542e44b459b32f /vm_method.c
parent6194cf0e0d34bcc25de8f1a80d4b073bf449f3ce (diff)
downloadruby-0d6b30776cf36d7eaabaaf1675e5697965ebe95b.tar.gz
ruby-0d6b30776cf36d7eaabaaf1675e5697965ebe95b.tar.xz
ruby-0d6b30776cf36d7eaabaaf1675e5697965ebe95b.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@23488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
0 files changed, 0 insertions, 0 deletions