From 90b1cc51039b9a8e728fd5ac1b8f083449b6a589 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 2 Oct 2015 00:33:26 +0100 Subject: [PATCH] minimal: Tune parser chunk allocation policy for very small heap. --- minimal/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index b9c97d2d34..6547b1ae14 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -4,6 +4,7 @@ #define MICROPY_QSTR_BYTES_IN_HASH (1) #define MICROPY_ALLOC_PATH_MAX (256) +#define MICROPY_ALLOC_PARSE_CHUNK_INIT (16) #define MICROPY_EMIT_X64 (0) #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0)