ykjit / yk

yk packages
https://ykjit.github.io/yk/
Other
29 stars 7 forks source link

Load the AOT IR only once. #1268

Closed ptersilie closed 3 months ago

ptersilie commented 3 months ago

This moves the AOT IR into a lazy lock that we only load once instead of every time we try to compile a trace.

This gives a decent speedup on yklua but also makes my life easier implementing sidetraces as we can now pass references of AOT instructions around instead of InstID.