summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/luaproc.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-06 09:13:12 +0100
committerRobin Gareus <robin@gareus.org>2020-02-06 17:30:22 +0100
commitf2980e5f05467f94b514531fc39ebda7d544cf6f (patch)
tree5df1619e3ad5d37570291f228ce861b255896e94 /libs/ardour/ardour/luaproc.h
parent6f5d6e9ba2c8aa8c1554d568bea903d028150d30 (diff)
Prefer TLSF over realloc-pool for LuaProc
With 4MB RAM and 1.5MB locked base memory (C++ bindings), TLSF has a better worst-case performance (-20% std-dev execution time compared to realloc-pool). Even though on average Realloc-Pool performs better (-9% average time, compared to TLSF).
Diffstat (limited to 'libs/ardour/ardour/luaproc.h')
-rw-r--r--libs/ardour/ardour/luaproc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h
index dcb5ec13cc..2102389c75 100644
--- a/libs/ardour/ardour/luaproc.h
+++ b/libs/ardour/ardour/luaproc.h
@@ -30,6 +30,7 @@
#include <vector>
#include <string>
+#define USE_TLSF
#ifdef USE_TLSF
# include "pbd/tlsf.h"
#else