views:

262

answers:

1

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

+1  A: 

If you just want to compress stuff, C# already has compression libraries.

Marcelo Cantos
Sorry, c# gzip deflate are not so good. Also I am trying to see some characteristics of Adaptive Huffman coding, so I ask
Jack
What do you mean by "not so good"? Is there a specific problem you're having with it? Typically, a normal implementation of deflate will out-perform huffman.
Lasse V. Karlsen
Well, I don't know, lol. My supervisor needs me to compare Adaptive Huffman coding to other things, and "Adaptive Huffman" is what he specified. So I have to do.
Jack
Tell your supervisor to put you to work on those TPS reports.
MusiGenesis
Jack, the question is whether they're good enough for the task at hand. Have you measured the performance (speed and size) of the .Net libraries for your problem domain? What criteria do you have that they are failing to meet?
Marcelo Cantos
I just want to compare several compressors directly. The criteria is the size of the compressed file.
Jack