PhilipRoman/optic-lua-dev

Consider using ByteBuffer instead of String

PhilipRoman opened this issue · 0 comments

Lua strings are simply arrays of bytes (and often are used to store binary data). Seems like byte buffers would be a better fit for this (and would also allow better low-level manipulations, if necessary).

We have to manually intern the string literals, by storing them as constants.