2 ms·
You want to be small, but C bit operations as native operators inside the core are a good idea. Not being a Lua user, it took me a little while to parse that.
by julian37 15y ago
You want to be small, but C bit operations as native operators inside the core are a good idea.
Not being a Lua user, it took me a little while to parse that. You're right, implementing these as library functions is silly, and having a dozen implementations to pick from is ludicrous!
http://lua-users.org/wiki/BitwiseOperators http://lua-users.org/wiki/BitwiseOperators
EDIT: Ok, less ludicrous now that they're shipping the "bit32" implementation.