summaryrefslogtreecommitdiff
path: root/esp8266/modules/_boot.py
AgeCommit message (Collapse)Author
2016-07-23esp8266/_boot.py: Decrease GC alloc threshold to quarter of heap size.Paul Sokolovsky
The idea behind decrease is: bytecode and other static data is also kept on heap, and can easily become half of heap, then setting threshold to half of heap will have null effect - GC will happen on complete heap exhaustion like before. But exactly in such config maintaining heap defragmented is very important, so lower threshold to accommodate that.
2016-07-23esp8266/_boot.py: Set GC alloc threshold to half of heap size.Paul Sokolovsky
Should keep good chunk of heap unfragmented, if a user application allows that at all.
2016-07-02esp8266: Explicitly collect garbage in bootstrap scripts.Paul Sokolovsky
Leads to less fragmentation at teh time user code starts.
2016-06-29esp8266: Enable frozen bytecode, with scripts in modules/ subdir.Damien George
To start with, the critical scripts _boot.py and flashbdev.py are frozen to improve performance and reduce RAM consumption. Saves about 1000 bytes of heap RAM for a bare boot with filesystem.