Y
Hacker News
new
|
ask
|
show
|
jobs
by
amelius
535 days ago
This is very similar to how many compression schemes work. Look up Huffman coding to begin with.
https://en.wikipedia.org/wiki/Huffman_coding
1 comments
nzach
535 days ago
For anyone interested in this topic, Primeagen has a pretty great video on how he used several encoding schemes to save bandwidth in one of his projects.
https://www.youtube.com/watch?v=3f9tbqSIm-E
link
https://www.youtube.com/watch?v=3f9tbqSIm-E