Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
The name is essentially merely looked up in a database, after tokenization, and no part of it is stored. so it ought to be a perfect candidate to be taken by QAnyStringView. The tokenization might require more work than in other fromString() cases, which already have QLatin1StringView overloads, but it looks very doable.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-138558 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
662291,4 | QLocale: hold legacy language codes in AlphaCode table | dev | qt/qtbase | Status: NEW | 0 | 0 |
662294,6 | Extract Method AlphaCode::fromString() from QLocalePrivate::codeToLanguage() | dev | qt/qtbase | Status: NEW | 0 | 0 |
662299,2 | QLocale: port codeToLanguage() to QAnyStringView | dev | qt/qtbase | Status: NEW | 0 | 0 |