[Kde-pim] Review Request 121408: Reserve room for 16 response headers by default.

Daniel Vrátil dvratil at redhat.com
Tue Dec 9 14:32:17 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121408/#review71637
-----------------------------------------------------------

Ship it!


Ship It!

- Daniel Vrátil


On Dec. 9, 2014, 2:56 p.m., Milian Wolff wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121408/
> -----------------------------------------------------------
> 
> (Updated Dec. 9, 2014, 2:56 p.m.)
> 
> 
> Review request for KDEPIM-Libraries, Daniel Vrátil, Laurent Montel, and Volker Krause.
> 
> 
> Repository: kdepimlibs
> 
> 
> Description
> -------
> 
> In my data, most often the final size of fetchResponse is 16.
> By reserving that data upfront, we can get rid of 3/4 of the
> list allocations, according to the growth-strategy outlined here:
> http://qt-project.org/doc/qt-4.8/containers.html#growth-strategies
> I.e. before, we'd allocate 4, 8, 12, 16. Now we directly allocate
> room for 16.
> 
> 
> Diffs
> -----
> 
>   akonadi/itemfetchjob.cpp a001b68d6494b80d296ddb95762afad78f87d851 
> 
> Diff: https://git.reviewboard.kde.org/r/121408/diff/
> 
> 
> Testing
> -------
> 
> 
> 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