diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-05-25 22:13:47 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-05-25 22:13:47 +0100 |
| commit | f88fc7bd23c7bab257a01857c6f4683ce491f78c (patch) | |
| tree | 405b9aeb3430e1e6ac1c69b55deca8aaf357dc7a /py/mpconfig.h | |
| parent | 5fd5af98d0292e06f42e0e0dc6ea8278219cdd6e (diff) | |
| parent | 5042bce8fb268849ba1afcbeb946b840318c4e49 (diff) | |
Merge branch 'pfalcon-keep-strings-uninterned'
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 853d475c3..1af27f767 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -66,6 +66,11 @@ #define MICROPY_ALLOC_PARSE_RESULT_INC (16) #endif +// Strings this length or less will be interned by the parser +#ifndef MICROPY_ALLOC_PARSE_INTERN_STRING_LEN +#define MICROPY_ALLOC_PARSE_INTERN_STRING_LEN (10) +#endif + // Initial amount for ids in a scope #ifndef MICROPY_ALLOC_SCOPE_ID_INIT #define MICROPY_ALLOC_SCOPE_ID_INIT (4) |
