-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Drop the call kind runtime argument #159
Conversation
Codecov Report
@@ Coverage Diff @@
## master #159 +/- ##
==========================================
- Coverage 90.2% 86.09% -4.12%
==========================================
Files 21 21
Lines 2246 2229 -17
Branches 220 220
==========================================
- Hits 2026 1919 -107
- Misses 196 283 +87
- Partials 24 27 +3 |
Is it such a big speed bump its worth the code duplication (in the binary)? It doesn't matter for compiling to C, but it could if we actually manage compiling it to Wasm. However it is minor I suppose. |
Couldn't you merge delegatecall/staticcall into call now with |
This is only done for removing this additional immediate value. I don't have any benchmarks for calls. There is a way to de-duplicate the code again (and for all other calls) by using a proxy function. But I want to keep the information about the call kind effectively in the function pointer.
|
I could if I had more time. #160 |
I'm merging this leaving the mentioned issues for later discussion and future work. |
docs: Host Implementation Guide
No description provided.