[net.sources.bugs] Compression Suggestion

rbj@icst-cmr.ARPA (Root Boy Jim) (07/09/86)

This is not really a bug, but merely a suggestion, and probably not
even an original one. It occurs to me that attempting compression on
small (one block) files is a waste of time, considering that no
possible gain in space can be produced. I therefore propose that
compress observe a minimum length limit. This could be:

	1) A hard coded constant such as 512 bytes.
	2) The above but alterable by a switch.
	3) Figure out the block/fragment size on the given file system.

As always, -f would force a compression.

	(Root Boy) Jim Cottrell		<rbj@icst-cmr.arpa>
..I have a VISION!  It's a RANCID double-FISHWICH on an ENRICHED BUN!!

P.S. Please pardon Zippy, he's not talking about your software.

pete@octopus.UUCP (Pete Holzmann) (07/10/86)

While compressing a single-block file won't save any *disk space*, it
will definitely save *time* when the file is transmitted via modem. It
would also presumably save space if the file is saved to non-blocked mdeia
such as tape.
-- 
  OOO   __| ___      Peter Holzmann, Octopus Enterprises
 OOOOOOO___/ _______ USPS: 19611 La Mar Court, Cupertino, CA 95014
  OOOOO \___/        UUCP: {hplabs!hpdsd,pyramid}!octopus!pete
___| \_____          Phone: 408/996-7746