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

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes