[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 13:49:03
Message-ID: 200611281449.03318.kde () bartcoppens ! be
[Download RAW message or body]
On Tuesday 28 November 2006 10:30, Boudewijn Rempt wrote:
> > 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.
Actually.... it shouldn't happen indeed, given that it's a Rect Iterator:
KisRectIteratorPixel srcIt = dev->createRectIterator(m_x, m_y, m_w, m_h,
false);
...
i = srcIt.nConseqPixels();
so it should go over each tile only once, hmmmmm, that's wrong then :-/
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