Stack Size Bloat?
    T. R. Ponn 
    alptex2 at orwell.net
       
    Sat Jun 21 05:52:00 EDT 2003
    
    
  
Hello,
I've been developing an app for a few months now and have noticed that 
the file size seems to be getting disproportionally larger than the 
objects and code I've been adding.  Here are some statistics on my 
environment and the stack:
Mac OS 9.2.2
Rev 1.1.1
Current Stack File Size: 709,592 bytes
Window Size: 600 x 450
Number of Cards: 2
Number of Fields: 11 (about half of which are scrolling...most empty, 
but one contains about 8,900 bytes of info)
Number of Buttons: 25
Number of Graphics: 6 (which add up to about 46,000 bytes)
Using Jan Bleeker's "Export Scripts" stack, I find I have about 147,000 
bytes of scripting.
Something doesn't seem to add up...is this the result of the engine 
being present?
Another example:
Recently I added 3 buttons and about 25,000 bytes of scripting and the 
file size went from 493,397 to 709,592!!
This reminds me of the HC days of compacting the stack occasionally, to 
keep it reasonable.  What's going on here?
Bloatedly yours,
Tim Ponn
    
    
More information about the use-livecode
mailing list