Re: Trying to get Windows building CRM114

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20090306170954.GB9760@localhost>
On Fri, Mar 06, 2009 at 01:34:57PM +0200, Jaakko Hyv?tti wrote:
> On Fri, 6 Mar 2009, Paolo wrote:
> >well, usually 2 times and up to 3 times better compressin than stock gzip.
> >Quite appreciable.
> 
> 2-3 times better than 'gzip -9' ? I do not believe you..
> 
> 7zip compression ratio improvement in Linux kernel source:
> 47 % better than gzip -9
> 16 % better than bzip2


!find /usr/bin /usr/lib* /lib -type f|\
!while read f;do
!  { gzip -c -9 "$f" > /tmp/x.gz
!    7z a /tmp/x.7z "$f"
!  } &>/dev/null
!  gz=`wc -c < /tmp/x.gz`
!  fz=`wc -c < "$f"`
!  sz=`wc -c < /tmp/x.7z`
!  echo "scale=2; print \"$f: [\",$fz,\"] \",$gz/$sz,\"\n\""|bc -l
!  rm -f /tmp/x.?z
!done | egrep '([2-9]\.[0-9]+)$' | sort -r -n -k2,2

/usr/lib/bjlib/cnc160.dat: [2665168] 7.35
/usr/lib/libHalf.so.2.0.2: [268452] 5.44
/usr/lib/locale/locale-archive: [1687008] 4.75
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/charsets.jar: [8840474] 4.53
/usr/lib/jre1.5.0_02/lib/charsets.jar: [8511074] 4.64
/usr/lib/perl5/Class/MethodMaker/hash.pm: [4189484] 3.87
/usr/lib/perl5/Class/MethodMaker/array.pm: [3941315] 3.21
/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/charsets.jar: [6698618] 3.49
/usr/lib/tcl8.4/encoding/jis0212.enc: [70974] 2.21
/usr/lib/tcl8.4/encoding/cp949.enc: [130423] 2.06
/usr/lib/tcl8.4/encoding/cp936.enc: [132509] 2.11
/usr/lib/tcl8.3/encoding/jis0212.enc: [70974] 2.21
/usr/lib/tcl8.3/encoding/cp949.enc: [130423] 2.06
/usr/lib/tcl8.3/encoding/cp936.enc: [132509] 2.11
/usr/lib/perl5/Class/MethodMaker/scalar.pm: [2277116] 2.26
/usr/lib/perl/5.8.8/auto/Encode/TW/TW.so: [1020768] 2.49
/usr/lib/perl/5.8.8/auto/Encode/KR/KR.so: [1143508] 2.25
/usr/lib/perl/5.8.8/auto/Encode/JP/JP.so: [1253380] 2.16
/usr/lib/perl/5.8.8/auto/Encode/CN/CN.so: [1019692] 2.21
/usr/lib/openoffice/program/liblocaledata_euro.so: [885788] 2.01
/usr/lib/libvte4/interpret: [483504] 2.41
/usr/lib/libumfpack.so.1.2: [663896] 2.33
/usr/lib/libicudata.so.36.0: [10152408] 2.09
/usr/lib/libbrcompij2.so.1.0.2: [725444] 2.13
...


here you are, sir ;)

beside compr-algo, guess it's block size for dictionary that matters quite
a bit.

-- 
 paolo
 
 GPG/PGP id:0x3A47DE45  - B5F9 AAA0 44BD 2B63 81E0  971F C6C0 0B87 3A47 DE45

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.