From 5d8ce05b3f6fad79e37ed21c1076e47a322472c6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 21 Sep 2020 10:31:03 -0300 Subject: Back to a stackless implementation A "with stack" implementation gains too little in performance to be worth all the noise from C-stack overflows. This commit is almost a sketch, to test performance. There are several pending stuff: - review control of C-stack overflow and error messages; - what to do with setcstacklimit; - review comments; - review unroll of Lua calls. --- ltests.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index e9219e29..f8c4466f 100644 --- a/ltests.h +++ b/ltests.h @@ -23,11 +23,6 @@ #define LUAI_ASSERT - -/* compiled with -O0, Lua uses a lot of C stack space... */ -#undef LUAI_MAXCSTACK -#define LUAI_MAXCSTACK 400 - /* to avoid warnings, and to make sure value is really unused */ #define UNUSED(x) (x=0, (void)(x)) -- cgit v1.2.3-55-g6feb