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

List:       kde-commits
Subject:    Re: koffice/filters/olefilters/excel97
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-05-17 8:47:50
[Download RAW message or body]

On Thursday 17 May 2001 08:43, Percy Leonhardt wrote:
> On Wed, 16 May 2001, CVS by wildfox wrote:
> 
> > Modified Files:
> > 	status.html xmltree.cc xmltree.h 
> > Log Message:
> > Finished "Merge-Cell" support
> 
> Hi!
> 
> Just a little proposal: What about 
> 
> QDomNodeList QDomDocument::elementsByTagName ( const QString & tagname) const

It's the one that I have measured to be EXTREMELY slow in Qt 2.x
In fact it's QDomNodeList that's slow.
When you iterate over the result, each time you ask for a position,
it starts from the beginning and iterates to it !

This is fixed in Qt 3, but for the moment, iterating by hand is MUCH faster
than using a QDomNodeList.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

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

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