[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: How many times? was: Compression design
From:       Bart Coppens <kde () bartcoppens ! be>
Date:       2006-11-28 9:18:11
Message-ID: 200611281018.12069.kde () bartcoppens ! be
[Download RAW message or body]

On Tuesday 28 November 2006 10:00, Boudewijn Rempt wrote:
> I discovered this by putting a kDebug() << "Tile: " << this << ", " <<
> kBacktrace() << endl; in KisTile::addReader(). When I create an image of
> 10x10 pixels I don't get all that many tiles, so I was able to actually
> look at what happened, and I found that both the histogram and the layerbox
> were calling this method many, many times on the same tile.
Ah, then that might be the much more harmless case of iterating over each tile 
individually with a new iterator. That surely could use some optimizing then, 
though, but it's not as serious.

Bart
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic