|
|
|
|
|
by hiyer
788 days ago
|
|
On my machine, the YJIT version of the original code is only ~30% faster than the non-YJIT version ~/scripts > ruby fib.rb
2.3346780000720173
~/scripts > ruby --yjit fib.rb
1.5913339999970049
So looks like YJIT doesn't "know" about this optimization |
|