Reduce double and triple lookups to the frames hash
ClosedPublic

Authored by apol on Oct 9 2018, 8:03 AM.

Details

Test Plan

Everything runs, tests pass

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Oct 9 2018, 8:03 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 9 2018, 8:03 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
apol requested review of this revision.Oct 9 2018, 8:03 AM
davidedmundson accepted this revision.Oct 10 2018, 2:42 PM
This revision is now accepted and ready to land.Oct 10 2018, 2:42 PM
broulik added inline comments.
src/plasma/framesvg.cpp
967–970

Can we assume references always contains svg?

davidedmundson added inline comments.Oct 10 2018, 2:47 PM
src/plasma/framesvg.cpp
967–970

if we're calling deref without it being paired with ref then we have bigger problems.

broulik accepted this revision.Oct 10 2018, 2:48 PM
broulik added inline comments.
src/plasma/framesvg.cpp
967–970

:D fair enough

This revision was automatically updated to reflect the committed changes.