| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Reduces the overhead per call of lookupId() from around 7000 to 180
instructions for a use case. Should in general scale much better.
I still do not like that this is using global static data that is
never cleaned up. It should be tied at the minimum to the lifetime
of the Qt 3D scene.
Change-Id: I777a2bbf2d765f4b0fc9e3d2b06692c7260f5a9f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
About 50% of callers pass static string literals,
which can be converted from QStringLiteral to
QLatin1String if by adding the overload.
Because of the complicated logic in the existing
overload, no attempt is made in this commit to
hand down the QLatin1String until the actual
comparison. Instead, the QString overload is
called, for now.
Saves almost 1KiB in text size in Render on
optimized GCC 6.0 Linux AMD64 builds.
Change-Id: I37ed154ec49349f251b6a4515c20eb7cb5c89181
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Provides a non negligible gain in performance.
Change-Id: I1165d1fcd044e3bdebf286539da2f5316f764540
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I4bc421358ce209f7fedc1a5205f64d5b27df9ec8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
Change-Id: If2b559bbcf22116c0b8373c4bb63363b4adb478d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|