Commit graph

3 commits

Author SHA1 Message Date
Robin Gareus
130211a4bd
Update Lua to upstream 5.3.5 2019-10-29 05:36:24 +01:00
Robin Gareus
f2ca0c144b Customize Lua GC, add object-memory-lock API.
Add custom API to prevent Lua Objects from being garbage collected.
This is intended to for Ardour LuaBridge bindings (~1MB Objects:
tables, functions and userdata).
The bindings are persistent and the gc can skip them in mark & sweep
phases. This is a significant performance improvement for garbage
collection.

Note. The next version of Lua (5.4) will come with a generational-gc
rather than an incremental, so extending the API at this point in time
is acceptable.
2018-03-19 02:23:09 +01:00
Robin Gareus
44cf448839 update to lua-5.3.4 2017-11-29 12:06:42 +01:00
Renamed from libs/lua/lua-5.3.3/lstate.c (Browse further)