Post #4460003
2026-08-07 05:18 UTC
LZ4 isn't a fantastic compression algorithm from a compression ratio standpoint.
What it makes up for is that a decoder is extremely easy to write and is very small and fast. This makes it good for embedded applications and retro computers.
The COM2EMOJI will operate in three stages:
first, the 17 byte emoji decoder will be emitted via raw emoji code.
then a roughly 60 byte (currenly) LZ4 decoder will be unpacked into memory using the inefficient but simple 8-bit-per-grapheme packing.
The LZ4 decoder will then be able to extract 10 bits per grapheme from the payload emoji.
Replies (2)
-
@gloriouscow@oldbytes.space 2026-08-07 05:26
this is not going to fit in a Mastodon post.
-
@thias@mastodon.social 2026-08-07 05:37
@gloriouscow@oldbytes.space There are around 3800 emoji symbols, could you not get 11 bits?