Optimizing scopes data in ArkScript VM (lexp.lt)
from SuperFola@programming.dev to programming_languages@programming.dev on 17 Mar 12:25
https://programming.dev/post/27081290

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.

#programming_languages

threaded - newest