forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
By my reading of py/makecompresseddata.py, it looks like error string compression only works for pure-ASCII strings. If that's true, builds for languages that give us trouble on SAMD21 M0 boards are probably using uncompressed strings.
Implementing better compression might be an easy win for freeing up code space. A possible fix: 1) write a python script to generate a zlib preset dictionary over all the error strings for a translation, then 2) modify the decompression to use zlib with inflateSetDictionary().