On Tue, 28 Apr 2020 at 10:59, Giuseppe D'Angelo via Development <[email protected]> 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? _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
