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

Port Qt code to new container assign() methods

    XMLWordPrintable

Details

    • 8
    • 3bb488fb2 (dev), 924410078 (6.6), b40bb99a6 (dev), 5e2d95db9 (dev), cb1489314 (6.6), a835abd6e (6.6), d7d15c1a4 (dev), 69eec3cd4 (6.6), 3c38efbfe (dev), b134718c1 (dev), 09e698d82 (dev)
    • Foundation Sprint 86, Foundation Sprint 87, Foundation Sprint 88, Foundation Sprint 89, Foundation Sprint 90

    Description

      See epic for more details.

      Find candidate assign() users and port them to the new function.

      E.g.

      • readInto()-like functions
      • functions that contain a loop and re-populate a Qt container in every iteration

      This is intentionally fuzzily worded, but we mustn't just add new API without looking around our own code base for potential users, and port them.

      Acceptance criteria:

      • at least one user in Qt production (non-test, non-example) code for each of QString, QByteArray, QList
      • (if possible) at least three relevant users generated in each of QtBase and QtDeclarative modules
        • "Relevant" means: saves actual memory allocations compared to the old code
      • advertize the commits on the development ML to educate fellow Qt devs

      Attachments

        Issue Links

          Activity

            People

              dennisoberst Dennis Oberst
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: