D9115: Don't tear down renderer and other busy work when Svg::setImagePath is invoked with the same arg

Eike Hein noreply at phabricator.kde.org
Sat Dec 2 18:09:38 UTC 2017


hein created this revision.
hein added reviewers: Plasma, davidedmundson, mart.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  During my plasmashell startup this saves time for 17 calls. Opening
  something like Simple Menu saves another ~dozen.
  
  It's worth investigating why Svg::setImagePath gets called repeatedly
  with the same args to begin with, but this is worth doing anyway.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D9115

AFFECTED FILES
  src/plasma/private/svg_p.h
  src/plasma/svg.cpp

To: hein, #plasma, davidedmundson, mart
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171202/7ed82e1f/attachment.html>


More information about the Kde-frameworks-devel mailing list