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

QtModelIndex performance measurements

XMLWordPrintable

    • Android
    • fbb80d525 (dev), 241d1cd9a (6.10), 0de15f33b (6.9)

      Why?

      • As a developer I want best performance. There are many cases that the user deals only with an invalid QModelIndex and represents the root index. Extra jni calls can be avoided by adding reusable Q(t)ModelIndex instance.

      What?

      • Share a reference to a static invalid QtModelIndex to avoid extra JNI calls between jvm & native. To eliminate an invalid QtModelndex going back and forth between JVM & native, because an invalid QtModelIndex does not deliver any information other than being an invalid index (mostly when an item does not have parent aka. invalid parent).

        For Gerrit Dashboard: QTBUG-133444
        # Subject Branch Project Status CR V

            markku_nokkala Markku Nokkala
            rampe Rami Potinkara
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes