FiOne icon indicating copy to clipboard operation
FiOne copied to clipboard

Use bit32 instead of bit as namespace for bit library

Open ccuser44 opened this issue 1 year ago • 1 comments

bit32 is used in vanilla Lua and Luau meanwhile bit is used in LuaJIT. I think the vanilla naming should be preferred and Luau would treat it better. Not sure though if it would hurt LuaJITs optimizations.

ccuser44 avatar Jan 05 '25 16:01 ccuser44

LuaJIT probably won't care, so if bit32 is better for readability I'm all for it.

Rerumu avatar Jan 05 '25 18:01 Rerumu