On Tue, Dec 15, 2009 at 09:17:33AM +0000, Richard Fairhurst wrote:
> strk wrote:
> 
> >The attached patch for potlatch uses the opcodes STRINGLENGTH and  
> >SUBSTR
> >instead of the GETPROPERTY and CALLMETHOD resulting from that syntax
> >in the innocent() function of photo.as:
> 
> Thanks - I'll take a look.

The attached alternative patch will work with older Ming
too and simply makes the String object construction explicit
reducing number of String objects to 1 per loop iteration
(3500 in total) from the previous 3500*55*2*2 [55 chars in string
as average, 2 temporary Strings per character in innocent() call,
2 innocent() calls ].

Memory use with this one is 720m, 544m with the one requiring
newer Ming, 1.9G as is...

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to