diff options
author | Robin Gareus <robin@gareus.org> | 2018-03-19 01:33:13 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-29 05:45:43 +0100 |
commit | 78cf0e5235a4138cc1c118dd4c2e202320d74b21 (patch) | |
tree | 7ea838fe85f798d0ad56186eea5753a6615f93b0 /libs/ardour | |
parent | 130211a4bdbaa5374a4fa5782125407764a32cfe (diff) |
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.
Diffstat (limited to 'libs/ardour')
0 files changed, 0 insertions, 0 deletions