[Development] [SPAM] How bad QList really is

Ville Voutilainen ville.voutilainen at gmail.com
Tue Apr 28 10:16:51 CEST 2020

On Tue, 28 Apr 2020 at 10:59, Giuseppe D'Angelo via Development
<development at qt-project.org> wrote:

> > What I see here is a general-purpose random-access container with cheaper
> > insertion and deletion at front and in the middle than *vector provides for
> > 61.3% of the types,
> This cannot be claimed as a closed result: for insertion, it's ignoring
> the cost of the individual allocation of the newly inserted item, that
> needs to be traded off the moving of more bytes in memory.
> Thanks for the scientific approach,

Here's what I'm curious about.  With Qt5 and QList, and with Qt6-like
"QList is QVector", if we run the
scenario André depicted and measure wall clock time, which one wins?

More information about the Development mailing list