Revision 811008

Optimization in KDE Base

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.