-
Notifications
You must be signed in to change notification settings - Fork 94
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
Implement Direct Threaded VM described in #51. Improving ~49%. #52
Conversation
Note direct threading is enabled only when |
Thank you for the information. |
Merge Onigmo 58fa099ed1a34367de67fb3d06dd48d076839692 + k-takata/Onigmo#52 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Merge Onigmo 58fa099ed1a34367de67fb3d06dd48d076839692 + k-takata/Onigmo#52 git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@52756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Thank you and sorry for the very late response. Merged. |
🎉 |
I read the article about YARV and Direct Threaded Code again. |
This is token threaded VM, not direct threaded VM. See: #52
PR #52 was actually a token threaded VM.
To tell the truth, I'm not familiar with threaded vm but I think you are right. It seems I wrote token threaded vm code. |
Here are benchmark scores. Benchmark suite is derived form http://sljit.sourceforge.net/regex_perf.html.
Env: