Skip to content

MeatPack: Compact only G0-G3 lines. - #68

Open
hejllukas wants to merge 4 commits into
prusa3d:lm_fixesfrom
hejllukas:lh_meatpack_compact_g0_g3
Open

hejllukas wants to merge 4 commits into
prusa3d:lm_fixesfrom
hejllukas:lh_meatpack_compact_g0_g3

Conversation

@hejllukas

@hejllukas hejllukas commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator
  • Only G0-G3 lines have spaces removed. Other lines are stored unchanged, so they are no longer corrupted by the space-reinsertion guessing. Files grow by only about 0.1 %, and less for larger files.
  • The no-spaces mode is never switched off, because the firmware shares its lookup table between parallel decoders. Files stay readable by all firmware versions.
  • Fixed unbinarize() losing a character when its output buffer grows.

@hejllukas
hejllukas force-pushed the lh_meatpack_compact_g0_g3 branch from f50e468 to e01e0eb Compare September 25, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant