Re: The software I wish I had
- From: Logan Shaw <lshaw-usenet@xxxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 00:31:58 -0500
Keith Thompson wrote:
CBFalconer <cbfalconer@xxxxxxxxx> writes:Richard Heathfield wrote:
Tut tut. It's trivial to implement software that can compress anyThe compression is dead easy. Decompression is another matter.
file down to a single byte:
Step 1: ascertain the number of bits, B, in the file.
Step 2: define "byte" as being B bits wide.
Given Richard's algorithm, decompression is trivial; just restore the
definition of "byte" to its previous value. (It's not clear even
that's necessary.)
Aha, but if you have to restore the definition of the word "byte" to
its previous value, then you need some sort of stack on which to store
definitions of words, which makes the compression ratio a bit worse.
On the other hand, the ability to compress files to the logarithm of
their original size is still a useful ability...
- Logan
.
- References:
- The software I wish I had
- From: Farhan
- Re: The software I wish I had
- From: Mr. Arnold
- Re: The software I wish I had
- From: mensanator@xxxxxxx
- Re: The software I wish I had
- From: Barry
- Re: The software I wish I had
- From: Richard Heathfield
- Re: The software I wish I had
- From: CBFalconer
- Re: The software I wish I had
- From: Keith Thompson
- The software I wish I had
- Prev by Date: Re: The software I wish I had
- Next by Date: Re: Application programming language of choice
- Previous by thread: Re: The software I wish I had
- Next by thread: Re: The software I wish I had
- Index(es):