[Development] QVariant performance
thiago.macieira at intel.com
Mon May 16 17:22:26 CEST 2016
On segunda-feira, 16 de maio de 2016 11:52:57 PDT Sean Harmer wrote:
> We have a WIP to replace the use of QVariant on the backend of Qt 3D but it
> would benefit all of Qt (including Qt 3D frontend to backend change
> notifications) if we can also improve the locking behaviour of QVariant. We
> have some ideas here to either use thread local storage in addition to the
> global metatype information registry and/or to use a scheme involving
> atomic compare/exchange when updating metatype registration info.
Uncontended locks in Qt are extremely cheap.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development