Re: Performance slow down because of cache method change
Bob Klimek <[email protected]> Thu, 31 Mar 2005 11:02:42 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
Bob Friesenhahn wrote: > Using: > > DrawDestroyContext(drawContext); > SetImageAttribute(theImage,"[MVG]",0); // <-- new line > > will purge the "[MVG]" attribute so that the next > drawing iteration starts fresh. It seems that this > elminates the performance problem. > " > > With this minor change, the loops in your test program execute in > constant time for me. > Perhaps this should be the default?! Bob Klimek ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30