summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-09 01:48:07 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-09 01:48:07 +0300
commit520f35632d78e1b73f647d993205aade0de8b1ce (patch)
tree5a8c11a0cf293ffb15c2fe1af7f7746c0022eeca /esp8266
parent649b69a1dbc91c7df8809c4a20c6287b23ac7f52 (diff)
downloadmicropython-520f35632d78e1b73f647d993205aade0de8b1ce.tar.gz
micropython-520f35632d78e1b73f647d993205aade0de8b1ce.zip
unix/main: When preparing sys.path, allocate exact strings on uPy heap.
Due to the way modern compilers work (allocating space for stack vars once at tha start of function, and deallocating once on exit from), using intermediate stack buffer of big size caused blockage of 4K (PATH_MAX) on stack for the entire duration of MicroPython execution.
Diffstat (limited to 'esp8266')
0 files changed, 0 insertions, 0 deletions