Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94260

Improve Lookup for QObject

    XMLWordPrintable

    Details

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            fabiankosmale Fabian Kosmale
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes