[Development] Proposal: Deprecate QVector in Qt 6

Matthew Woehlke mwoehlke.floss at gmail.com
Fri Apr 24 15:49:16 CEST 2020


On 24/04/2020 07.51, André Pönitz wrote:
> So what is left is the question about what is in the name. That question was
> interestingly enough not present at the begin of the crusade, it only came up
> after it turned out that blind replacement of QList by QVector wasn't *that*
> trivial and actually caused performance regressions in real world applications,
> i.e. the performance argument made against QList wasn't quite as uniformly
> applicable as initially presented.

Hear, hear! And this is why I keep asking that we not get rid of Qt5 
QList (even if we a) call it something else and b) get rid of the 
sometimes-optimization of direct storage). Sometimes, it *is* the right 
tool for the job.

-- 
Matthew


More information about the Development mailing list