Does anyone see this kind of source code over the Internet?
I have tried Google, it seems no where having this.
Is Adaptive Huffman encoder good?
Or
Anyone can share with me about the source code (C#) for it?
Thanks
Does anyone see this kind of source code over the Internet?
I have tried Google, it seems no where having this.
Is Adaptive Huffman encoder good?
Or
Anyone can share with me about the source code (C#) for it?
Thanks
Did a Google search for ["C#" adaptive huffman encoding]. On the first page of results:
This looks like it might do what you want: Dynamic Huffman Encoding in C#.
There's also some source code on this benchmarks site (second page of search results) http://www.cs.ucsb.edu/~ckrintz/racelab/PhxCSBenchmarks/index.html. In the area where it has the Adaptive Huffman Encoding benchmark, there's a link to the source code (either .zip or tar.gz)
I'd be surprised to find that either one is better than the built-in GZipStream
or DeflateStream
.
If you just want to compress stuff, C# already has compression libraries.