Revision 785348

Go back to digest for 16th March 2008

Optimization in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs/kio/kio/kdirmodel.cpp:

10x speedup in KDirModel::nodeForUrl() (called by indexForItem), by comparing paths instead of urls (KUrl::url() is too expensive for tight loops, and the whole logic of this method is to assume direct children of the directory url anyway)

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/kio/kio/kdirmodel.cpp
1 files changed in total