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

Provide a bumper allocator to improve creation of QML elements

    XMLWordPrintable

Details

    Description

      When creating QML components we can know in advance how many QObjects of which types we need. All these objects will be created together and also destroyed together later on.

      We should use this knowledge to allocate the memory for all those objects together in one call, rather than separately for each object. As memory allocation is expensive, especially if you allocate many small pieces of memory, this should improve performance and reduce memory fragmentation which is a problem on MCU.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            ulherman Ulf Hermann
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes