On Wednesday, 18 October 2017 07:58:42 PDT Philippe wrote: > FYI, I just discovered that QStringLiteral has become pretty expensive under > Visual Studio 2017 15.3, compared to the past (Visual Studio 2015). > > Much more assembly code generated for the associated lambda, and > _Init_thread_header / _Init_thread_footer is called at the first call of > each instance of QStringLiteral . (which actually seems right, because of > C++11's thread safe initialisations of static variables). Not sure to see > any longer some interest in QStringLiteral... > > release-mode code generated for the related lambda: for VS 2017.3 / Qt 5.9.1
That's a Visual Studio compiler bug and regression. It's acknowledged by Microsoft. It's the same issue that makes using static builds impossible. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest