Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Fri Oct 12 2001 1:12 am
Author: Lin, Jeffrey T. <jtlin@ece.cmu.edu>
Subject: Nitty Gritty Details

In the instruction, they mentioned about an empty file and a file w/ length 1. I assume that when these two cases are encountered, it's best to leave the files untouched. yes?

also, if in some cases, we're for certain that the compressed file will be larger than the original (for example, using my program, any file that is 4 bytes or less will result in a larger file after compression since i use the first 4 bytes of my compressed file to store the total length of the original files as my approach to deal w/ the EOF problem), then is it a better idea to leave these files untouched as well?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
Nitty Gritty Details      Lin, Jeffrey T.      Fri Oct 12 2001 1:12 am       
Re: Nitty Gritty Details      Maxim, Michael G.      Fri Oct 12 2001 11:53 am       

Back to previous screen