summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-03-19 01:33:13 +0100
committerRobin Gareus <robin@gareus.org>2018-03-19 02:23:09 +0100
commitf2ca0c144b8f74ddf1ed2845de413a8b2e42d832 (patch)
tree727b313cd407357979da9d5544064272e0103dce /libs/ardour/session.cc
parent20929347219355f63cb8e786e5201cd5f352d0af (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/session.cc')
0 files changed, 0 insertions, 0 deletions