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

Christoph Cullmann noreply at phabricator.kde.org
Tue Aug 21 08:19:36 BST 2018


cullmann added a comment.


  That looks much nicer an avoids the !d checks, which are tedious.
  
  I think the one ref count change is no issue, at least that is orders of magnitude better than some malloc on Windows :)
  
  I will adapt the patch.

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/20180821/2f5a7aa7/attachment-0001.html>


More information about the KWrite-Devel mailing list