D21788: Make Plasma::Svg::elementRect a bit leaner
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Jun 13 19:42:14 BST 2019
apol created this revision.
apol added reviewers: Plasma, Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
apol requested review of this revision.
REVISION SUMMARY
Don't double-access maps
Don't construct ids more times than necessary.
Make regular expression static so it's not compiled on every run.
Remove unused code.
REPOSITORY
R242 Plasma Framework (Library)
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D21788
AFFECTED FILES
src/plasma/private/svg_p.h
src/plasma/svg.cpp
To: apol, #plasma, #frameworks
Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190613/88fc639f/attachment.html>
More information about the Kde-frameworks-devel
mailing list