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

List:       kde-commits
Subject:    Re: kdenonbeta/kcanvas
From:       Wilco Greven <j.w.greven () student ! utwente ! nl>
Date:       2005-04-27 11:37:10
Message-ID: 200504271337.10775.j.w.greven () student ! utwente ! nl
[Download RAW message or body]

Op dinsdag 26 april 2005 19:31, schreef Nikolas Zimmermann:
> CVS commit by wildfox:
>
> Big fat optimization of the 'dirtyChunks' stuff. callgrind clearly showed
> a lot of time is spent in QValueList<KCanvasChunk *>::contains, and
> QPtrList's containsRef is faster (yes I'm aware QPtrList wipe away with
> Qt4)
> -> credits for this idea go to master Eric Seidel :-)

It would probably be even better to use findRef because containsRef returns 
the number of occurrences in the list (fixed in Qt4).

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

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