Add a LauncherUrlWithoutIcon data role as a speed optimization.

Authored by hein on Jun 16 2016, 9:33 PM.

Description

Add a LauncherUrlWithoutIcon data role as a speed optimization.

Summary:
Makes the API more complex, but it's worth it as it allows
knowledgable users to opt into avoding costly work and/or
data copies in very common use cases.

Significantly speeds up a lot of work in the models in the
presence of X apps that can't be identified and fall back to
the window icon.

Based on profiling by David.

Reviewers: dfaure, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D1920

Details

Committed
heinJun 17 2016, 7:47 AM
Differential Revision
D1920: Add a LauncherUrlWithoutIcon data role as a speed optimization.
Parents
R871:60de5e17f204: Merge branch 'Plasma/5.7'
Branches
Unknown
Tags
Unknown