[Development] Abandoning the container changes

Thiago Macieira thiago.macieira at intel.com
Thu Jul 5 17:32:07 CEST 2012


On quinta-feira, 5 de julho de 2012 15.30.27, André Somers wrote:
> Op 5-7-2012 12:28, Thiago Macieira schreef:
> > We can add them, but I don't see a value in doing that if no one is using
> > them. They'll just increase build time.
> 
> How could we use it, if it is not included?

Chicken-and-the-egg.

What I meant was that I don't see value in adding them to QtCore unless our 
own API is using them. It would increase confusion, increase build time and 
would not improve our performance. In fact, it might even make it worse since 
there would be limited data sharing between the two sets of classes.

Adding the new QVector class to a separate, downloadable module is quite easy. 
It is currently using undocumented API in QtCore (QArrayData) but that API's 
semantics get pretty well-defined due to the use in inline functions elsewhere.

However, adding the new QByteArray and QString doesn't make sense since it 
would require duplicating everything that is not inline, or jumping through 
hoops to share it. I am not looking forward to doing that work, but if someone 
else is, be my guest.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120705/1e460b1d/attachment.sig>


More information about the Development mailing list