Project

General

Profile

« Previous | Next » 

Revision 0feaa041

Added by Eric Wong almost 10 years ago

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