The built-in `Math.hypot(x, y)` is 95% slower than `Math.sqrt(x**2 + y**2)`
But the built-in `BigInt.asUintN(64, x)` is 2× faster than `x & UINT64_MAX`
There's no discernible pattern, just benchmark everything.
The built-in `Math.hypot(x, y)` is 95% slower than `Math.sqrt(x**2 + y**2)`
But the built-in `BigInt.asUintN(64, x)` is 2× faster than `x & UINT64_MAX`
There's no discernible pattern, just benchmark everything.
All community levels: github.com/mvasilkov/su...
All community levels: github.com/mvasilkov/su...
mvasilkov.animuchan.net/super-castle...
Please read the wall of text postmortem for my #js13k game.
No ChatGPT, only organic biological human writing.
mvasilkov.animuchan.net/super-castle...
Please read the wall of text postmortem for my #js13k game.
No ChatGPT, only organic biological human writing.
Now we have level preview pics, and the level editor has a button to produce those.
Now we have level preview pics, and the level editor has a button to produce those.
Exhausted, but happy with the result.
Can I please be fired tomorrow? I'd like to get some rest.
Exhausted, but happy with the result.
Can I please be fired tomorrow? I'd like to get some rest.