chore: remove all dyn for opcode that reduce dyn trait cost#660
chore: remove all dyn for opcode that reduce dyn trait cost#660yjhmelody wants to merge 2 commits intobluealloy:mainfrom
dyn for opcode that reduce dyn trait cost#660Conversation
wdym by dyn trait cost? In the end this shoudn't this be dynamically dispatched as it can be called in recursion |
|
Could not see it will be a problem for recursion. |
|
|
Sure, but the present code works as well, question is why would we use this and not dyn Host? Could you run |
|
You could try. I am using macOS but I don't think this will cause performance degradation at least. After all, the |
|
Can we try after the interpreter refactor is merged? I wanted to explore this as well after that PR (#582). |
Same here :) will try it with docker as it is something i will need in future. tbh i don't expect a difference but it is best just to check.
That makes sense, will come back to this after #582 gets merged. |
|
Fine |
|
Tested this on macbook inside docker for snailtracer. Just for reference main before Will close this for now. |
|
@yjhmelody as dani wrote in #739 there is a 2% performance, so we are changing it to |
No description provided.