Re: compression problem...
- Posted by Kat <gertie at PELL.NET> Sep 25, 2001
- 363 views
On 25 Sep 2001, at 15:04, Sabal.Mike at notations.com wrote: > > Maybe I'm missing something here, but it looks like all you're trying to do is > left-shift every word. I don't see where the compression would come in that. > Also, if you're trying to bit-shift yourself into a number of null-bytes, this > method would only work on byte=#80. Ditto. > It seems what you'd rather do for this simple algorithm is compress 8-bit > bytes > into 7-bit bytes by bit-shifting across the entire file, not just a single > word. > It would guarantee you a minimum 12.5% compression, and leave a greater > chance > of null or further compressable bytes. It might look something like this: This would be useful only on those languages that use only the lower 7 bits, too, how many languages would this leave out? Kat