diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-10-01 10:13:49 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-10-08 10:26:37 +0200 |
| commit | c095f7fbf820ac944c5d3096f48dd18752a218b3 (patch) | |
| tree | 1d6480aeabce5b8bbc0ca9d5de79beb038b52104 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | 2fda30053dcf13356d72f9a8116413d26bcb14a1 (diff) | |
QStringConverter: de-pessimize lookup by UTF-16 name
Instead of converting the QStringView into a L1 string (allocating
memory), duplicate the matching code for char and char16_t.
Fixes a ### comment from the time we converted lookup to
QAnyStringView.
Amends b3edce58e5aea76d1d84c868f76171c2b40520a4.
Pick-to: 6.8
Task-number: QTBUG-126109
Change-Id: I5ae6eb452e68af19b495b3790fe79ee583968d72
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
