cbr at boemann.dk
Tue Jul 5 22:19:29 CEST 2005
On Tuesday 05 July 2005 20:54, Boudewijn Rempt wrote:
> The small number is for the preview: the larger number for a 1000x1000
> image. There's some variation, of course, because I just use QTime.elapsed,
> but the pattern is clear: isDone() is always slower.
> isDone() is not just a function call; except in the rect iterator it's
> actually a computation.
> In the light if this I wonder whether we shouldn't stop using isDone().
> After all, paint devices have no bounds, reads and writes are always valid,
> and we know the extent to which we want to read beforehand because we give
> it as a parameter to the create functions.
lets try starting with making the call inline and see how much that helps
best regards / venlig hilsen
More information about the kimageshop