Am Mittwoch, den 26.11.2008, 20:32 -0500 schrieb dolphinling: > Hitachi's animation The Hard Drive is the New Bling (Bling_Final.swf, > available > from e.g. http://dagobah.biz/flash/Bling_Final.swf) plays slowly in gnash. It > contains a small number of very large jpegs (up to 3422x2516 px), and a > profile > shows that there are over 8 million calls to JpegImageInput::getWidth, nearly > 2% > of the total cpu time (in a debug build with video and audio output disabled). > > All but 32 of those 8 million calls are from ImageInput::readSWFJpeg3. This > patch simply stores the result of getWidth within readSWFJpeg3. > Thanks, that's definitely better. I'll make the changes you suggest manually. Most of the actual image handling has been essentially untouched for years, so there is certainly potential for more improvement.
bwy -- The current release of Gnash is 0.8.4 http://www.gnu.org/software/gnash/ Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

