summaryrefslogtreecommitdiffstatshomepage
path: root/py/objdict.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-28 23:06:38 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-28 23:06:38 +0100
commit516b09efc3e5d2d88457a0300b65497a9bc39624 (patch)
tree73358ed03f5e3fc5252715d0d3842a02407acff0 /py/objdict.c
parentb796e3d848b30346c11d173f39c06df88c646e2f (diff)
downloadmicropython-516b09efc3e5d2d88457a0300b65497a9bc39624.tar.gz
micropython-516b09efc3e5d2d88457a0300b65497a9bc39624.zip
py, gc: Further reduce heap fragmentation with new, faster gc alloc.
The heap allocation is now exactly as it was before the "faster gc alloc" patch, but it's still nearly as fast. It is fixed by being careful to always update the "last free block" pointer whenever the heap changes (eg free or realloc). Tested on all tests by enabling EXTENSIVE_HEAP_PROFILING in py/gc.c: old and new allocator have exactly the same behaviour, just the new one is much faster.
Diffstat (limited to 'py/objdict.c')
0 files changed, 0 insertions, 0 deletions