From kde-commits Thu May 17 08:47:50 2001 From: David Faure Date: Thu, 17 May 2001 08:47:50 +0000 To: kde-commits Subject: Re: koffice/filters/olefilters/excel97 X-MARC-Message: https://marc.info/?l=kde-commits&m=99009588909539 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