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
- relates to
-
QTBUG-106163 Add QAnyStringMap
-
- Reported
-
-
QTBUG-103510 Add QAnyStringHash
-
- Open
-