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

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

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes