beariish
Joined 1 year ago
Karma
108
Submissions
12
Member since
Jun 20
Joined 1 year ago
As for writeups, I'm working on putting out some material about the creation of Bolt and my learnings now that it's out there.
import math as not_math
So supporting something along the lines of import abs as absolute, sqrt as square_root from math
Would be farily simple to accomplish.
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