[Development] Important recent changes in QList/QString/QByteArray

Ville Voutilainen ville.voutilainen at gmail.com
Thu Sep 10 09:39:00 CEST 2020

On Wed, 9 Sep 2020 at 16:38, Andrei Golubev <andrei.golubev at qt.io> wrote:
> I don't understand what this means. Am I supposed to reserve a
> container to its current size before erasing elements
> from it, if I don't want the erase to shrink it?
> Yes.

That's interesting. So the container remembers what sort of a reserve
request I made on it, and uses
that as the preferred size whenever the element count of the container changes?

More information about the Development mailing list