On Sunday, 5 March 2017 15:56:25 CET Christoph Cullmann wrote:
> cullmann created this revision.
> Restricted Application added a project: Frameworks.
> 
> REVISION SUMMARY
>   Avoid a lot allocations in KConfig: We anyway free this QByteArray direcly
> after use, no need to shrink it, which only leads (if at all) to
> unnecessary allocations.
> 
>   Seen in e.g. heaptrack with Kate. (btw., thanks to Milian for writing that
> :)

There's an initial version of a heaptrack plugin for KDevelop, if you want to 
try! ;)

See:
  https://phabricator.kde.org/D4910

Cheers,
Kevin

> TEST PLAN
>   Given it only alters the allocation behavior, no changes visible, beside
> less heap allocs.
> 
> REPOSITORY
>   R237 KConfig
> 
> REVISION DETAIL
>   https://phabricator.kde.org/D4941
> 
> AFFECTED FILES
>   src/core/kconfigini.cpp
> 
> To: cullmann, #frameworks


-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to