-
- Downloads
py: Allocate parse nodes in chunks to reduce fragmentation and RAM use.
With this patch parse nodes are allocated sequentially in chunks. This reduces fragmentation of the heap and prevents waste at the end of individually allocated parse nodes. Saves roughly 20% of RAM during parse stage.
Showing
- bare-arm/main.c 2 additions, 2 deletionsbare-arm/main.c
- minimal/main.c 2 additions, 2 deletionsminimal/main.c
- py/compile.c 3 additions, 3 deletionspy/compile.c
- py/compile.h 2 additions, 2 deletionspy/compile.h
- py/mpconfig.h 6 additions, 0 deletionspy/mpconfig.h
- py/parse.c 90 additions, 35 deletionspy/parse.c
- py/parse.h 7 additions, 2 deletionspy/parse.h
- py/runtime.c 2 additions, 2 deletionspy/runtime.c
- qemu-arm/main.c 2 additions, 2 deletionsqemu-arm/main.c
- qemu-arm/test_main.c 2 additions, 2 deletionsqemu-arm/test_main.c
- stmhal/pyexec.c 2 additions, 2 deletionsstmhal/pyexec.c
- unix/main.c 3 additions, 3 deletionsunix/main.c
Loading
Please register or sign in to comment