From f2980e5f05467f94b514531fc39ebda7d544cf6f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 6 Feb 2020 09:13:12 +0100 Subject: 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). --- libs/ardour/ardour/luaproc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour') 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 #include +#define USE_TLSF #ifdef USE_TLSF # include "pbd/tlsf.h" #else -- cgit v1.2.3