Skip to content

Improve error string compression #10566

@samblenny

Description

@samblenny

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().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions