lua-users home
lua-l archive

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


Hello,

I (also) have a question related to this commit:
https://github.com/lua/lua/commit/4e47f81188d37e29027158b76271d02a781242e2
. Aside from performance reasons, is there anything stopping us from
storing the 'to-be-closed flag' in e.g. an unused pointer or tt_ bit
inside the stack value and keeping the old StackValue definition?
Keeping a count of such variables and the index of the last of them in
the state could address performance issues in some use common cases...

Best regards,

-- 
DoubleF