lua-users home
lua-l archive

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


Hi Viacheslaw,
thank you for this detailed answer.

I did not have the nerves up to now to check this in detail ... quite
late in the evening already :).

>...This would make
>sense because sizeof (TValue) = 8 + 4 = 12, times 2 = 24.

This sizeof(TValue) number sounds odd to me for  Lua32 - are you
really sure about this?

I think these 12 byte (8+4) should be the size for Lua64? (8byte for a
64bit value, e. g. double float or 64 pointer, and 4 byte for the type
info in Lua 5.1 times?)

(for Lua32 I would expect sizeof(TValue)= 4+4= 8 in Lua 5.1 times?)