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)
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3674
Build 3692: arc lint + arc unit
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

Can we assume references always contains svg?

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

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

:D fair enough

This revision was automatically updated to reflect the committed changes.