summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial/filesystem.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-10 15:30:16 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-15 16:56:27 +1100
commit23f0691fddfc35acd2f81f54b15ad2ecaa15c6d4 (patch)
treed8aa64136f0e5d6437e825835a08b985c9593f55 /docs/esp8266/tutorial/filesystem.rst
parent858e992d2e25cf50b06abc33978040092e6f1e16 (diff)
downloadmicropython-23f0691fddfc35acd2f81f54b15ad2ecaa15c6d4.tar.gz
micropython-23f0691fddfc35acd2f81f54b15ad2ecaa15c6d4.zip
py/persistentcode: Make .mpy more compact with qstr directly in prelude.
Instead of encoding 4 zero bytes as placeholders for the simple_name and source_file qstrs, and storing the qstrs after the bytecode, store the qstrs at the location of these 4 bytes. This saves 4 bytes per bytecode function stored in a .mpy file (for example lcd160cr.mpy drops by 232 bytes, 4x 58 functions). And resulting code size is slightly reduced on ports that use this feature.
Diffstat (limited to 'docs/esp8266/tutorial/filesystem.rst')
0 files changed, 0 insertions, 0 deletions