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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development