From 06f5779866689a320d83f9ca6ac6a01482b6e6a0 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 1 Oct 2024 13:19:28 -0500 Subject: [PATCH] bricks/_common/mpconfigport.h: enable MICROPY_GC_ALLOC_THRESHOLD This can be a useful performance tweak for some applications. --- bricks/_common/mpconfigport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/_common/mpconfigport.h b/bricks/_common/mpconfigport.h index f4745042c..76c6b6835 100644 --- a/bricks/_common/mpconfigport.h +++ b/bricks/_common/mpconfigport.h @@ -50,7 +50,7 @@ #define MICROPY_DEBUG_PRINTERS (0) #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (1) -#define MICROPY_GC_ALLOC_THRESHOLD (0) +#define MICROPY_GC_ALLOC_THRESHOLD (1) #define MICROPY_STACK_CHECK (1) #define MICROPY_HELPER_REPL (1) #define MICROPY_HELPER_LEXER_UNIX (0)