[Kde-pim] Review Request: Reuse QString instances in parseAddrList
Commit Hook
null at kde.org
Mon Oct 15 13:43:51 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106836/#review20371
-----------------------------------------------------------
This review has been submitted with commit 21c6a7aa3d27e944338ffdb0d31f680aa3f8e661 by Milian Wolff to branch master.
- Commit Hook
On Oct. 15, 2012, 12:17 p.m., Milian Wolff wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106836/
> -----------------------------------------------------------
>
> (Updated Oct. 15, 2012, 12:17 p.m.)
>
>
> Review request for KDEPIM and KDEPIM-Libraries.
>
>
> Description
> -------
>
> Leverage QString implicit sharing to reduce memory consumption. In my tests, the memory decreases roughly by ~20MB from a total of 300 down to about 280MB.
>
> My question is rather, whether this really needs to be thread safe or not. Maybe also some performance testing is required?
>
>
> Diffs
> -----
>
> plugins/akonadi_serializer_mail.h cf43949
> plugins/akonadi_serializer_mail.cpp 096073a
>
> Diff: http://git.reviewboard.kde.org/r/106836/diff/
>
>
> Testing
> -------
>
> Ran KMail, not noticeably slower but uses less ram. Nothing else seems to have changed.
>
>
> Screenshots
> -----------
>
> memory consumption before patch
> http://git.reviewboard.kde.org/r/106836/s/776/
> memory consumption after patch
> http://git.reviewboard.kde.org/r/106836/s/777/
>
>
> Thanks,
>
> Milian Wolff
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list