[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: How many times? was: Compression design
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2006-11-28 9:30:49
Message-ID: 200611281030.51545.boud () valdyas ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 28 November 2006 10:18, Bart Coppens wrote:
> 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.
Eh... Not sure I'm following you. Yes, it's a new iterator every time, but
it's the same unchanged tile that's being read time and again.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
[Attachment #5 (application/pgp-signature)]
_______________________________________________
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