fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.21k stars 43 forks source link

Improve performance of the Lua fiber and fibonacci benchmarks #17

Closed ers35 closed 1 year ago

ers35 commented 1 year ago

Loading from a local variable avoids a lookup from the global environment.

fubark commented 1 year ago

Well this is strange... After booting into Windows yesterday, I can't seem to recalibrate my benchmarks. Will look at this later and I may have to rerun all the benchmarks again.

fubark commented 1 year ago

This looks good. I confirmed that this is faster for lua and luajit.