Skip to content

flatpak: don't query icons over and over

Harald Sitter requested to merge work/sitter/fasterctor into master

with many resources the KIconLoader call was actually super expensive as we kept looking through the icon directories N times. instead query all icon names once and then just hold them in memory for future lookup. also use a qset for extra fast lookup.

this takes constructing from taking up to 24ms to 0ms (except for the first time obviously ;))

Merge request reports

Loading