[TasksModel] Use std::acumulate on the QHash directly
ClosedPublic

Authored by broulik on Sep 21 2017, 3:02 PM.

Details

Summary

begin() and end() operate on the hash values.
This avoids creating a temporary list just for this.

Test Plan

sumScore values still look similar

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 21 2017, 3:02 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 21 2017, 3:02 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 25 2017, 9:04 AM
This revision is now accepted and ready to land.Sep 25 2017, 9:04 AM
This revision was automatically updated to reflect the committed changes.