3 ms·
I feel like the obvious 21 bit encoding is to pack 3 codepoints into 8 bytes. But uh I guess this works. If you want to do something more in depth and make re
by Dylan16807 3y ago
I feel like the obvious 21 bit encoding is to pack 3 codepoints into 8 bytes.
But uh I guess this works.
If you want to do something more in depth and make real decisions about encoding, a good space to explore is 1-3 byte variable width encodings. You have lots of different tradeoffs to consider and you can make something surprisingly good.