Received: (from major@localhost)
	by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id LAA19600
	for pups-liszt; Wed, 25 Mar 1998 11:32:56 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to owner-pups@minnie.cs.adfa.oz.au using -f
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au [131.236.21.158])
	by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id LAA19595
	for <pups@minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 11:32:52 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id LAA01502 for pups@minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 11:32:56 +1100 (EST)
From: Warren Toomey <wkt@henry.cs.adfa.oz.au>
Message-Id: <199803250032.LAA01502@henry.cs.adfa.oz.au>
Subject: Re: More on Disk Images -> Disk
To: pups@minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Wed, 25 Mar 1998 11:32:56 +1100 (EST)
In-Reply-To: <199803250024.QAA14701@moe.2bsd.com> from "Steven M. Schultz" at "Mar 24, 98 04:24:33 pm"
Reply-To: wkt@cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups@minnie.cs.adfa.oz.au
Precedence: bulk

In article by Steven M. Schultz:
> Warren -
> 
> >From: Warren Toomey <wkt@henry.cs.adfa.oz.au>
> 
> > Now, what I've currently got will cope with -b12 compressed files. Can
> > someone tell me if it would be feasible to fit a gunzip into 64K?? Even
> > if it could only cope with gzip -1 files.
> 
> 	If my understanding of 'gzip' is right then the alogrithm works on
> 	32kb blocks of data and the '-N' level has little to do with the
> 	memory consumption.  Rather, as the -1, ... -9 level increases the
> 	amount of work that gzip puts into the compression increases (the
> 	difference between -6 and -9 is only a few percent in final output
> 	size but the length of time taken is quite a bit higher).
> 
> 	Of concern would be getting the gzip sources to compile with a non-ANSI
> 	compiler on a non-32bit machine (sizeof (long) == sizeof(int) is an
> 	endemic assumption I wager).  Well, ok - there is the worry that
> 	you will grow old waiting for it to compress something ;-)  Gzip is a 
> 	lot more cpu intensive than compress.

I'm only thinking of implementing gunzip on the PDP-11. I've got
uncompress -b12 running standalone right now, but gunzip would be a big
win: you gzip -9 on a 32-bit system (higher compression) and gunzip 
on the PDP-11.

I just don't know if the gunzip would fit. Isn't there a gunzip for MS-DOS?
Surely we could leverage something from it?

	Warren

