Skip to content

Why does the RLE stop on each line? #401

Discussion options

You must be logged in to vote

Simplicity, mostly. The compression was good enough to lower the deployment cost into a reasonable range, and it was simpler to map a single [pixel_length, color_index] tuple to a single rect when drawing the SVG. We didn't feel the need to over-optimize. The renderer, including storage of all parts, is upgradable, so the algorithm can be improved over time. In fact, multi-line RLE has already been implemented in a separate branch.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by solimander
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants