Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Sun Oct 7 2001 9:18 pm
Author: Bortz, Andrew S. <abortz@andrew.cmu.edu>
Subject: Re: decompression

For compression, there is a lot of time lost if you have to search through the huffman tree for the character you want. Since this will be done _many_ times during compression for each character, it saves a lot of time to do it once and store the result in a code table. During decompression, yes, the code table is really redundant, but it is necessary during compression to avoid searching.
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
decompression      Hynes, Christopher D.      Sun Oct 7 2001 8:39 pm       
Re: decompression      Bortz, Andrew S.      Sun Oct 7 2001 9:18 pm       

Back to previous screen