D14956: avoid any heap allocation for default constructed Format() as used as "invalid"

Dominik Haumann noreply at phabricator.kde.org
Mon Aug 20 21:07:22 BST 2018


dhaumann added a comment.


  Btw, would it also work to point to an internal static d-pointer to avoid all the d-pointer checking? The current patch is likely fine, but it feels a bit messy... But I'd agree to this if other solutions are not feasible.

REPOSITORY
  R216 Syntax Highlighting

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

To: cullmann, vkrause
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180820/52e35c95/attachment-0001.html>


More information about the KWrite-Devel mailing list