[Adium-devl] Compression.

Colin Barrett timber at lava.net
Sun Jan 28 10:09:10 UTC 2007


I was wondering if it would be possible to compress our NIBs -- we're  
using XML now for NIBs, right? Text, especially structured text,  
compresses really well, and our Resources folder is 18MB. I ran some  
tests on 1.0b24 and the results surprised me. Both items were  
compressed with tar -czf.

Compressing MainMenu.nib:   37,368 bytes => 22,144 bytes =  
40.740740740740...% or 15,224 bytes or ~15K saved.
Compressing Resources/: 13,373,235 bytes (17.6M) => 5,848,355 bytes  
(5.6M) = 56.28210347010% or 7,524,880 bytes or ~7.2MB saved.

Food for thought. With 1.0 at ~36M on disk, I think anything we can do  
to save space is a Good Thing.

-Colin




More information about the devel mailing list