[BusyBox] Re: PATCH: busybox-0.60.0/gzip.c codespace reduction

Erik Andersen andersen at lineo.com
Tue Aug 21 22:21:06 UTC 2001


On Sun Aug 19, 2001 at 07:02:49PM +1000, rbrown64 at csc.com.au wrote:
> This 3rd version saves ~1.5kb of codespace savings on i586-pc-gnu-linu
> against busybox-0.60.0 source.
> 
> Since gzip won't be changing it's CRC polynomial, initialize `e' to the
> appropriate constant in updcrc rather than calculating it.
> The value 0xedb88320L is mentioned in the comment and is the value
> of crc_32_tab[128] in the master gzip source.

Excellent work.  Sorry for the delay in getting this applied --
I had some surgery last week, which turned my brain off for a
bit.  Anyways, I've tested you changed on x86, ARM, and powerpc
and everything looks good.  Applied,

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list