3 ms·
This is genius. Data encoded in base1024 (here using the 1024 safe chars represented by emojis) gives much more efficient storage usage. 16 kB raw data encode
by mathiasrw 6y ago
This is genius.
Data encoded in base1024 (here using the 1024 safe chars represented by emojis) gives much more efficient storage usage.
16 kB raw data encoded in base64
ceil(16*1024/3)*4 = 21848 bytes long ~= 21.8kB.
16 kB raw data encoded in base1024
ceil(16*1024/9)*10 = 18210 bytes long ~= 18.21kB.
So base64 needs about 19.7% more data storage than base1024 and both can be used anywhere utf8 is supported.
Let the baseEmoji revolution begin...