Elektrine lite

← Feed

@dchest@mastodon.social

Post #2716446

2026-05-03 08:00 UTC

I like ASCII-preserving encodings, e.g. Fossil delta format (deltas of plain text are plain text): https://fossil-scm.org/home/doc/tip/www/delta_format.wiki Thinking of making an ASCII-preserving variant of LZ4 compression: - token and offset: 4 chars, base64 encoded (originally 1 byte token, 2 bytes for offset) - literal and match overflows: base95 ('cause it's just addition, no complex decode) Seems to fit perfectly and can be transformed easily to the original spec. Framing format would probably use base64 for everything.

Replies (1)

  • @dchest@mastodon.social 2026-05-03 12:40

    9RQAJAlright, it kinda works! This toot is compressed with LZ48hwAAor, which is then encoded in ASCII and can be deZlgAand dek2IA. Not goo8AAA&short strings though. -- orig: 173, lz4: 157, lzasc: 164

    Open ##2985211