Optimizing scopes data in ArkScript VM

https://lexp.lt/posts/optimizing_scopes_data_in_arkscript_vm/

I finally found a better memory layout to store variables in ArkScript, and I got a 76% performance boost on the binary tree benchmark, and a 21% perf boost on Ackermann(3, 7) Who knew using a contiguous storage buffer could be beneficial? 🤡

I retraced all the performance improvements I applied to ArkScript through the last five years, with updated benchmarks, AND DAMN what a journey.

4 points · 0 comments · view on lemmy.world

0 Comments

No comments yet.