Current Forum: Homework 4 General Forum |
Date: Thu Oct 4 2001 6:28 pm |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: Re: modifying FileBitReader/FileBitWriter |
|
|
yeah but i figured out a way to store the tree itself in the file in a very small amount of space, so the decompressing does not require rereading the frequencies to recreate the tree. i've tested it fairly extensively. it always works.
but something else. i incorrectly stated that my program would never try to call writeBits or readBits with 'num' greater than 32. i was wrong, i have made a test file that causes a Huffman tree to be generated that is greater than 32 levels deep. so nevermind that question.
jason |
|