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

Milian Wolff mail at milianw.de
Tue Dec 9 13:56:56 GMT 2014


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

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