The weight loss in Snow Leopard's bundles is astonishing in many cases; for instance, Mail.app went from 287MB in Leopard, to just 91MB in Snow Leopard. Another good one is Image Capture, which went from a very fat 15MB to just 1MB. How exactly did Apple achieve such a weight loss?
One measure is the fact that Apple has removed the various localisation files from each application, relying on a centralised container instead from which application can draw the things they need. Another measure is the compression of Interface Builder's NIB files; NIB files also contain the graphical resources. In addition, Apple lost weight by deleting the designable.nib files from bundles - they are the xml files used during development, and they shouldn't be in the final builds, but due to an error by Apple, they were included anyway in Leopard's bundles. Compressing the NIB, xml, and html files in Leopard's mail already reduces Mail.app from 289 to 96.6MB.
The last important measure is resolution independence. Resolution independence relies on vector graphics, which take up less space than ordinary graphics resource files. Which brings us the final point where size reduction could benefit from, according to many - the ditching of PowerPC code from universal binaries. According to reports, this hasn't happened yet, and it wouldn't make much of a difference anyway.
You can achieve similar results on Leopard already with tools such as MonoLingual and Northern Softworks Leopard Cache Cleaner. Deleting the designable.nib files helps too.



0 