[Development] QVariant performance

Marc Mutz marc.mutz at kdab.com
Tue May 17 09:28:19 CEST 2016


On Monday 16 May 2016 12:52:57 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.

Almost complete lockless metatype registry:
https://codereview.qt-project.org/30559

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - Qt, C++ and OpenGL Experts



More information about the Development mailing list