Speed and memory optimizations.
ClosedPublic

Authored by hein on Jun 17 2016, 10:09 AM.

Details

Summary

TasksModel will never change IsWindow|IsStartup|IsLauncher on a row
after insertion, so we can avoid some object instanciations based on
task type.

Avoid some other work that was done unnecessarily for some task types.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein updated this revision to Diff 4584.Jun 17 2016, 10:09 AM
hein retitled this revision from to Speed and memory optimizations..
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added reviewers: broulik, dfaure.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptJun 17 2016, 10:09 AM
broulik accepted this revision.Jun 17 2016, 10:29 AM
broulik edited edge metadata.
This revision is now accepted and ready to land.Jun 17 2016, 10:29 AM
This revision was automatically updated to reflect the committed changes.