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

allow lookup in QMap<QString, ...> with QStringView as a key

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None

    Description

      It would be very handy to be able to lookup in QMap<QString, ...> with QStringView as a key. This would allow much faster operation because it could avoid one unnecessary allocation.

      Note that QMap<QString, QVariant> is also aliased as QVariantMap which is quite widely used, IMO. Therefore this performance improvement could be very beneficial.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              vladimir.kraus Vladimir Kraus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes