[ruby-cvs:55565] normal:r48415 (trunk): insns.def (opt_succ): remove Time#succ optimization

normal at ruby-lang.org normal at ruby-lang.org
Fri Nov 14 06:55:31 JST 2014

normal	2014-11-14 06:55:28 +0900 (Fri, 14 Nov 2014)

  New Revision: 48415


    insns.def (opt_succ): remove Time#succ optimization
    Time#succ is a deprecated method and not frequently used, so this wastes
    icache in vm_exec_core.  Using bloat-o-meter in the Linux kernel source
    to shows a small reduction on my x86-64 system:
    $ ~/linux/scripts/bloat-o-meter ruby.before ruby.after
    add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-57 (-57)
    function                                     old     new   delta
    vm_exec_core                               24216   24159     -57
    [Feature #10501]

  Modified files:

More information about the ruby-cvs mailing list