D14956: avoid any heap allocation for default constructed Format() as used as "invalid"
noreply at phabricator.kde.org
Mon Aug 20 21:20:37 BST 2018
cullmann added a comment.
If that is more elegant, I would be happy with this a solution, too.
The Format() allocations just showed up as a few MBs during heaptrack profiling of KWrite (just loading one large file and rehighlighting it).
R216 Syntax Highlighting
To: cullmann, vkrause
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel