[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Work In Progress: About Lua Structures
- From: Spar <developspartv@...>
- Date: Fri, 13 Nov 2020 13:24:52 +0300
I mean in LuaJIT it's TValue, but in Lua it's probably Proto that needs split
Sharing my knowledge.
I was learning LuaJIT bytecode some time ago, and discovered that for 64bit versions the TValue struct is actually shared between 2 TValues objects.
As assume this is done for pointer/RAM optimizations.
I don't think TValue is a problem, in 64 bits the size of the structure is 16.