Messages in this thread | | | Date | Wed, 2 Jul 2003 11:27:07 +0200 (CEST) | From | Etienne Lorrain <> | Subject | Re: [PATCH RFC] 2.5.73 zlib #1 memmove |
| |
Hi,
I do not know if you are interrested, but I already did a lot work on zlib/gzlib in Gujin: http://gujin.sourceforge.net/
There is a near complete rewrite of zlib, even removing the 32Kb window stuff. Unlike zlib, it is only licenced as GPL, and only tested on i386, in fact 32 bit processors. An unusual CRC32 function is also available, optimised to i386 instructions but without a table to reduce the data cache page misses and code size.
Have a look at gzcopy.c: gzcopy -t infile.gz -> test the content of the file (-t0 for quite).
The kind of testing done is in Makefile: testgzlib: gzcopy find /mnt/cdrom/ -name "*.tgz" -o -name "*.gz" \ -exec ./gzcopy -t {} \; 2>&1 | tee log
I did it on multi CDROMs collection like ftp.cdrom.com , it checks all files CRC32 - the only failure were unreadable files on the device and file not compressed by GZIP (GZIP can decompress .Z and .ZIP files) even if someone changed their name to *.gz
My aim there was code size reduction (4-5 Kbytes of code total). It does compile and work with GCC aliasing optimisation.
Cheers, Etienne.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |