Skip to content

Commit

Permalink
bricks/_common/mpconfigport: Enable MICROPY_GC_ALLOC_THRESHOLD.
Browse files Browse the repository at this point in the history
On hubs with PYBRICKS_OPT_EXTRA_LEVEL2.

This can be a useful performance tweak for some applications.
  • Loading branch information
dlech authored and laurensvalk committed Dec 5, 2024
1 parent 8137ff5 commit 40cc061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bricks/_common/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 (PYBRICKS_OPT_EXTRA_LEVEL2)
#define MICROPY_STACK_CHECK (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_HELPER_LEXER_UNIX (0)
Expand Down

0 comments on commit 40cc061

Please sign in to comment.