[ruby-cvs:55568] normal:r48418 (trunk): vm_eval.c (rb_eval_cmd): use pre-defined idCall

normal at ruby-lang.org normal at ruby-lang.org
Fri Nov 14 10:24:00 JST 2014


normal	2014-11-14 10:23:58 +0900 (Fri, 14 Nov 2014)

  New Revision: 48418

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

  Log:
    vm_eval.c (rb_eval_cmd): use pre-defined idCall
    
    No need to use rb_intern, here.  Reduces size slightly on x86-64:
    
    $ ~/linux/scripts/bloat-o-meter ruby.before ruby.after
    add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-31 (-31)
    function                                     old     new   delta
    rb_eval_cmd                                  813     782     -31

  Modified files:
    trunk/ChangeLog
    trunk/vm_eval.c


More information about the ruby-cvs mailing list