Cozy Lights - Voxel light maps

User avatar
LMD
Member
Posts: 1461
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Cozy Lights - Voxel light maps

by LMD » Post

SingleDigitIq wrote:
Fri Nov 29, 2024 16:24
If 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.
This statement is blatantly false:
  • 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.
TL;DR: Bitops are completely fine to use in Luanti.
My stuff: Projects - Mods - Website

User avatar
SingleDigitIq
Member
Posts: 27
Joined: Wed Jul 17, 2024 22:48
GitHub: SingleDigitIQ
In-game: huh huuh huuuh huuuuh hm hmm

Re: Cozy Lights - Voxel light maps

by SingleDigitIq » Post

Strange, when I last looked into it, it wasn't a thing? Or maybe I wasn't paying attention

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests