Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 4 - Lempel Ziv (Part 2)
Date: Mon Oct 15 2001 2:09 pm
Author: Liu, William Y. <wyl@andrew.cmu.edu>
Subject: maximum code number for LempelZiv compression

I read in a previous thread on this forum that we can assume that our LempelZiv compression codes are to reach a maximum of 65 thousand something, corresponding to 16 bits. So are we to represent each LempelZiv code number as 2 bytes?

I think I also read something about the short int type corresponding to a 16-bit integer representation. Is that right?

This may sound dumb, but one last question. Even though we never directly write the code numbers to the output file upon compression since we write their bit representations instead, should we see in the output file the code numbers in the dictionary rather than gobbly-gook like in Huffman?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
maximum code number for LempelZiv comp...      Liu, William Y.      Mon Oct 15 2001 2:09 pm       
Re: maximum code number for LempelZ...      Shi, Ying      Mon Oct 15 2001 11:23 pm       
Re: maximum code number for LempelZ...      Ghosh, Debmallo S.      Wed Oct 17 2001 11:38 am       

Back to previous screen