https://bugs.kde.org/show_bug.cgi?id=501773
--- Comment #10 from Ken Rushia <[email protected]> --- I use X11. I ungrouped all images (about 120,000 raw+jpgs) and there is no lag anymore. There is clearly a performance problem that worsens at the rate of number of items in the view multiplied by number of rows in imagerelations table. 1. There seems to be a signal/slot that is causing info cache to be invalidated on selection (not sure which) 2. ItemInfo::hasGroupedImages() is not optimized for its task (it runs getImageGroupedCount(), which ultimately has to iterate over the entire imagerelations table. Even if cache hasn't been invalidated, this is silly. https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/item/containers/iteminfo_groups.cpp#L23-26 https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/item/containers/iteminfocache.cpp#L71 -- You are receiving this mail because: You are watching all bug changes.
