Tag: compression
-
Huffman Coding in Java
Hi everyone! Last time I showed you how the Huffman compression algorithm works. This time I’m going to show you how you can implement it in Java. Just a heads up. Yes it’s Java. Yes it’s slow as shit. It’s in Java because the code looks simpler in Java. I first implemented it in C++…
-
Huffman Coding and Compression
I have had a little bit of time this weekend so I decided to make something. That something is an introduction to compression algorithms and more specifically the Huffman coding. It is often very nice (if not necessary) to decrease the amount of data you are sending through a medium (telephone wire/Ethernet/RS-232 etc.). To do…