Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

RE: asset compression

Ron Overdrive
Registered User
Join date: 10 Jul 2005
Posts: 1,002
08-03-2006 10:48
in regards to /139/41/126596/1.html I noticed you're using gzip. While a common and popular compression method to use I've noticed there are better compression algarythms to use. One such that I know of is free and opensource called 7Zip wich I use on a regular basis. From experience I've seen this handy program compress PDFs and other large files at least 300kb smaller then Zip and Rar formats. Since you're using GZip I've decided to do a little test and share the results in hopes it may be in some use to you guys. The test file I chose was the main EXE of a program I also use called CyberShredder wich is a free compact secure file deleter wich you can find here.

The test EXE is 449Kb in size. Compacted with the WinXP port of GZip 1.24 using the --best command the compressed EXE came out to be 227Kb in size. Compacted using 7Zip with the GZip method and the ULTRA rating the EXE came out to be 220Kb in size. Compacted using 7Zip with the 7z method and the ULTRA rating the EXE came out to be 170Kb. Just to be fair I also tested out RAR and ZIP (using deflate, deflate64, and Bzip2 methods), they came out (in order I stated) 184Kb, 220Kb, 217Kb, and 219Kb. RAR was the only one that came close to 7zip, but is unfortunately closed source and thus is out of the question unless you wanna pay rarsoft.

Info regarding the opensource 7zip project and its public SDK can be found at 7zip.org. Dunno if this will be of any use to you guys, but hey never know. All I know is the smaller the transmitted data means less to download and that means quicker loading wich is obviously what you were aiming for with compressed assets.
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
08-04-2006 12:30
Asking about this...
_____________________