[osflash] Know how many kb each class adds to the SWF when compiling with MTASC

Nicolas Cannasse ncannasse at motion-twin.com
Thu Aug 3 15:52:55 EDT 2006


> Good question.
> I could add an option to display the size of each compiled class, eg.
> soemthing like sizeReport in Flash,
> 
> Cheers,
> Ralf.

I've been actually thinking what would be the most accurate way of doing 
it. The problem is that what is usually displayed is the size of the 
*uncompressed* data, and bytecode is actually compressed quite well by 
zlib. The most accurate will be then to report the actual difference 
between compressed data with and without the class. That's a lot more 
meaningful.

Nicolas



More information about the osflash mailing list