Update on autolayers merge
Bart Coppens
kde at bartcoppens.be
Thu Jan 20 15:39:19 CET 2005
On Wednesday 19 January 2005 17:44, Boudewijn Rempt wrote:
> At the moment filling a rect is done with the iterators -- it can be done
> much faster by implementing clear & paste in the data manager and calling
> that.
Aha, I see. I'll have a look at that when clear&paste are implemented.
> Okay... That explains why it only happens reproducibly in the performance
> tests. I guess that floodfilling an empty image is a bad idea :-).
Not necessarily. The problem lies in the overuse of recursion: filling a blank
image causes that for each line of the image, there is a recursion step. For
small images this is no problem, but for big ones it unfortunately is.
> Well, that's easy enough: just a repeated bitBlt.
That was easy enough indeed :)
Bart Coppens
More information about the kimageshop
mailing list