[Digikam-devel] [Bug 155097] performance problems with recursive view and filtering

Arnd Baecker arnd.baecker at web.de
Wed Sep 3 09:07:02 BST 2008


http://bugs.kde.org/show_bug.cgi?id=155097





--- Comment #6 from Arnd Baecker <arnd baecker web de>  2008-09-03 10:06:59 ---
Well, I do know that deleting the search term in one move is possible,
and that's what I would normally use! However, if I do so I get the 3000 images
out of which the "Moon" would only be a few; and it is precisely
this cutting down from many images to few which takes too long.

Still, even with the Enter variant, the basic problem, discussed in 
2.) in the original report will remain.
((Ok, after the mid-air-collision I see that you can reproduce the problem
...))

IMO the problem is in AlbumLister::slotFilterItems()
in the second part after the comment 
// This takes linear time - and deleting seems to take longer.

Maybe we should not delete the images from the list if
there are more images being deleted than will be preserved
and built a new list in this case (not sure if this is doable - its been a
while
that I looked at that code ... ;-) ?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list