diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-06 09:13:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-06 17:30:22 +0100 |
commit | f2980e5f05467f94b514531fc39ebda7d544cf6f (patch) | |
tree | 5df1619e3ad5d37570291f228ce861b255896e94 /libs/ardour/ardour/luaproc.h | |
parent | 6f5d6e9ba2c8aa8c1554d568bea903d028150d30 (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.h | 1 |
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 |