Questions tagged [adaptive-compression]

4 questions
31
votes
5 answers

What is the best compression algorithm that allows random reads/writes in a file?

What is the best compression algorithm that allows random reads/writes in a file? I know that any adaptive compression algorithms would be out of the question. And I know huffman encoding would be out of the question. Does anyone have a better…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
1
vote
2 answers

Does anyone have Adaptive Huffman compression for C#?

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
Jack
  • 3,913
  • 8
  • 41
  • 66
0
votes
1 answer

compression algorithm that allows random reads/writes in a file?

Does anyone have a better compression algorithm that would allow random reads/writes? I think you could use any compression algorithm if you write it in blocks, but ideally I would not like to have to decompress a whole block at a time. But if you…
King User
  • 100
  • 6
0
votes
4 answers

Segmentation Fault - Adaptive Huffman Tree

I am trying to implement the adaptive huffman code, but while trying to build the tree i get a segmentation fault when executing the code at line "currentNYT->lchild = newNYT;" in addnode() function. Could anyone please help me out? It might be…
Illes Peter
  • 1,637
  • 5
  • 25
  • 43