D7110: Reduce heap allocs by using QVector instead of QList

Denis Kurz noreply at phabricator.kde.org
Fri Aug 4 11:59:03 BST 2017


dkurz added a comment.


  Yes, I saw the optimization for types that are not ::isLarge, but we still require the array. And your auto version removes the last three heap allocations, which is great. I'll update my diff accordingly.

REPOSITORY
  R206 KMail

REVISION DETAIL
  https://phabricator.kde.org/D7110

To: dkurz, #kde_pim_kmail
Cc: dvratil, mlaurent, #kde_pim, dvasin, winterz, vkrause, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170804/f9830182/attachment.html>


More information about the kde-pim mailing list