Re: Cozy Lights - Voxel light maps
Posted: Fri Nov 29, 2024 17:39
This statement is blatantly false:SingleDigitIq wrote: ↑Fri Nov 29, 2024 16:24If only LuaJIT wouldn't lack bit operations. Bit operations probably should be fast even in a JIT, and if they wont be fast, then they would at least eliminate the need for some unique types, which could potentially result in massive improvement anyway. Another one scored for NodeJS. All day, every day.
- LuaJIT has bit operations.
- They are fast. (There may be minor drawbacks to them just being functions, but that shouldn't matter much to LuaJIT.)
- They treat floats as 32-bit integers. Just like JS.
- Luanti bundles LuaBitOp so you can use bitops on PUC too.