Revision 811008
Go back to digest for 25th May 2008Optimization in KDE Base
Aaron J. Seigo committed changes in /trunk/KDE/kdebase/workspace/krunner/resultscene.cpp:
obvious optimization that occurred to me while standing up to go make dinner: now only actually new match results will get traversed twice, and then only when there are existing items that haven't been claimed yet.
in practice this is rare, so this is nearly as efficient as the original algo and may well be an even call now without the updateId stuff.
huzzah.
File Changes
Modified 1 files
- /trunk/KDE/kdebase/workspace/krunner/resultscene.cpp
1 files changed in total