diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-24 10:36:16 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-24 10:36:16 +0000 |
commit | 96c7f6d30c0d12fc54e41065d1dbd0ef2debd4ed (patch) | |
tree | 533c9b947d0bd3fe1b8f6b268592e222715e0f72 /test/runner.rb | |
parent | b31f270d539c8a3a81a5490e7bd54b97ad28bf8b (diff) | |
download | ruby-96c7f6d30c0d12fc54e41065d1dbd0ef2debd4ed.tar.gz |
vm_insnhelper.c (vm_check_if_namespace): tiny size reduction
Take advantage of "%+" modifier in the format string instead of
explicitly calling rb_inspect to reduce object size.
On x86 32-bit:
text data bss dec hex filename
before: 2949572 12448 30680 2992700 2daa3c miniruby
after: 2949464 12448 30680 2992592 2da9d0 miniruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
0 files changed, 0 insertions, 0 deletions