[ruby-cvs:60805] normal:r53644 (trunk): vm_insnhelper.c (vm_check_if_namespace): tiny size reduction

normal at ruby-lang.org normal at ruby-lang.org
Sun Jan 24 19:36:16 JST 2016


normal	2016-01-24 19:36:16 +0900 (Sun, 24 Jan 2016)

  New Revision: 53644

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53644

  Log:
    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

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list