On Sunday, 16 de October de 2011 17:12:33 Olivier Goffart wrote:
> > One big difference between QList and QVector today is that QList has
> > prepend / takeFirst optimisation, whereas QVector must move all elements
> > to accommodate. I would prefer if that optimisation remained present.
> It has to (it enable QList to be used for queue like data structure (and it
> is, see QQueue)
> 
> QList was also supposed to expands to less code (than QVector) (at least
> that is what Jasmin used to advertise some years ago)

I don't see how it can expand to less code than a simple vector. The best case 
scenario is to expand to the same code or to similar complexity -- assuming of 
course that QVector is optimised to produce minimal code too.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to