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

QHash: Find and port various code from insert-if-not-already-exists to use try_emplace

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • 370031f80 (dev)
    • Foundation Sprint 121, Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124, Foundation Sprint 125, Foundation Sprint 126, Foundation Sprint 127

    Description

      ... but also check how it affects performance in performance-sensitive places. try_emplace will always detach, but a combo of contains + insert / find + insert would not

      Attachments

        Issue Links

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

          Activity

            People

              manordheim Mårten Nordheim
              manordheim Mårten Nordheim
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change