Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.2
Description
The main reason for having propertycaches is that property lookups on the metaobject are rather slow - and they still are in Qt 6. While it should be possible to speed them up in Qt 6, we still won't match the speed of the property caches.
However, we can already skip property lookups if a QV4::Lookup is used, which caches the property data. Unfortunately, the qobject Lookup is somewhat limited and monomorphic. We ought to collect more data about Lookup transitions, and we probably will need a poly- or even megamorphic lookup for QObjects.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-94260 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353026,3 | WIP: Lookups: print info about transitions | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |
353032,4 | WIP: Use base property cache in lookup | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |