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

Christoph Cullmann noreply at phabricator.kde.org
Mon Aug 20 21:04:11 BST 2018


cullmann added a comment.


  But I can call all accessors on some default constructed Format() if that increases the confidence, if this patch is at all wanted.
  It saves heap allocations but adds some branches.

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/4d876f6b/attachment.html>


More information about the KWrite-Devel mailing list