Change to bzip2?

Steve G linux_4ever at yahoo.com
Wed Feb 2 17:05:14 UTC 2005


>Now try to get the -9 changed in rpm.

brp-compress:

@@ -8,8 +8,8 @@
 cd $RPM_BUILD_ROOT

 # Compress man pages
-COMPRESS="gzip -9 -n"
-COMPRESS_EXT=.gz
+COMPRESS="bzip2 -9 -n"
+COMPRESS_EXT=.bz2

>And it also makes little sense to bzip tarballs that end up in 
>gzipped payloads imho.

It does when you realize that loading a man page is milliseconds slower to bring
up using bzip2. And downloading updates via a modem can be 10's of minutes faster
when they are compressed with bzip2. Compare the size of virtually any tarball:
kde, kernel, open office, tetex, .... You can fit more packages on an iso CD,
too.

Looking through the bzip2 source code, it looks like its been optimized pretty
well. But, there is a little room for improvement - even in C and no assembler
has been added.

-Steve Grubb

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-devel-list mailing list