-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite Kernel#tap with Ruby #3281
Conversation
Second thought you might also want to do this for |
Related explanation submitted by @k0kubun on twitter:
😊 |
Absolutely 🙂 I'll prepare another PR to see CI results for it separately though. |
Lies. Damned lies. Statistics. Did you find out WHY it is faster? |
It is not meant it is faster in general, but in this case of |
WHY is it faster. That is the question. Concluding that Ruby is faster here is uninteresting. Do a root cause analysis. Then we learn something perhaps. |
Everything is written in this thread actually. |
I don't totally follow from this thread alone. However via the linked twitter conversation: https://twitter.com/k0kubun/status/1279128061355495425
So to be explicit. While this unlocks JIT improvements, it is ALSO faster even without JIT. Possibly due to the reduction in calling vm_exec_core |
because Ruby is faster than C.