D5870: Match subsequences in application runner

David Edmundson noreply at phabricator.kde.org
Tue May 16 15:37:28 UTC 2017


davidedmundson added inline comments.

INLINE COMMENTS

> rthomas wrote in servicerunner.cpp:203
> Could you explain why would we want to use splitRef instead of split? I'm not sure I understand the need for it.

split copies the strings.
splitRef creates references to a location within an exitsting string without copying it.

Result is the same but faster.

REPOSITORY
  R120 Plasma Workspace

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

To: rthomas, #plasma
Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170516/27c3b234/attachment.html>


More information about the Plasma-devel mailing list