summaryrefslogtreecommitdiffstatshomepage
path: root/py/objdict.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-28 10:18:40 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-28 10:18:40 +0100
commitb796e3d848b30346c11d173f39c06df88c646e2f (patch)
tree187c4a3b102f8020083f429ee54ef402a5c929ab /py/objdict.c
parenta97e091d4e80bbdb05f4bb27f18b905b50daf018 (diff)
downloadmicropython-b796e3d848b30346c11d173f39c06df88c646e2f.tar.gz
micropython-b796e3d848b30346c11d173f39c06df88c646e2f.zip
py: Reduce fragmentation of GC heap.
Recent speed up of GC allocation made the GC have a fragmented heap. This patch restores "original fragmentation behaviour" whilst still retaining relatively fast allocation. This patch works because there is always going to be a single block allocated now and then, which advances the gc_last_free_atb_index pointer often enough so that the whole heap doesn't need scanning. Should address issue #836.
Diffstat (limited to 'py/objdict.c')
0 files changed, 0 insertions, 0 deletions