lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Apr 8, 2012 at 10:27 PM, Dimiter 'malkia' Stanev
<malkia@gmail.com> wrote:

> Wondering what stops reference lua from doing the same?
>

I believe LuaJIT bytecode explicitly encodes numbers using ULEB128
http://en.wikipedia.org/wiki/Variable-length_quantity
whereas Lua bytecode uses the memory representation for all data types.