Issue #10501 has been updated by Koichi Sasada.


+1


----------------------------------------
Feature #10501: [PATCH] insns.def (opt_succ): remove Time#succ optimization
https://bugs.ruby-lang.org/issues/10501#change-49941

* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: Eric Wong
* Category: core
* Target version: current: 2.2.0
----------------------------------------
~~~
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

There should be no problems, I'll commit in a day or two.
~~~


---Files--------------------------------
0001-insns.def-opt_succ-remove-Time-succ-optimization.patch (1.11 KB)


-- 
https://bugs.ruby-lang.org/