(no title)
megapoliss | 6 months ago
Just checked with nbody:
- still 10 times slower than luajit
- 2 times slower than luajit -joff
- but 20% faster than lua 5.4
- but uses 47 Mb RAM vs 2.5 Mb for lua/luajitmegapoliss | 6 months ago
Just checked with nbody:
- still 10 times slower than luajit
- 2 times slower than luajit -joff
- but 20% faster than lua 5.4
- but uses 47 Mb RAM vs 2.5 Mb for lua/luajit
beariish|6 months ago
I did spot some poor code in the Bolt version of nbody that can be changed (the usage of `.each()` in the hot loop is creating loads of temporary iterators, that's the memory difference.)
luajit -joff does perform better even with this change, but I observe closer to 15% than a 2x difference
megapoliss|6 months ago