lua-users home
lua-l archive

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




On 2019-08-09 10:43 a.m., Soni "They/Them" L. wrote:


On 2019-08-08 10:10 p.m., Luiz Henrique de Figueiredo wrote:
> Why "function values caching" has been removed from Lua 5.4?

See https://github.com/lua/lua/commit/e8c779736f3029df353038352c14c8ab63728811


say that to cratera: (look for "INPUT"/"OUTPUT" markers)


also, perhaps unrelated, would it be possible to implement this optimization with an internal ephemeron table attached to the global state (the part of lua_State that is shared between coroutines)?

does the generational GC handle ephemeron tables with strong values that refer to their weak keys?