home .. forth .. colorforth mail list archive ..

Re: [colorforth] shifted huffman trees


On Tue, 21 Sep 2004, Bill Parker wrote:

>
> My illustration has the tags growing to left simply
> because the tag field is currently in the LSBs of the
> 32 bit number.  That seems convenient to implement so
> I saw no reason to change.  You could certainly switch
> the tag field to the MSBs and append those two bits on
> the right instead if that works out better.
>

For the bit-stream you would need a prefix-code because the tags are
variable length. For a known word-length, you are right, that should work.

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com