aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4sequenceobject.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-06-08 14:55:35 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-06-30 10:47:17 +0200
commitd158c61cef35c35d8893db9e7db266782ece264d (patch)
treed32485daa976d250c58ef47dfad0670b1258bd7f /src/qml/jsruntime/qv4sequenceobject.cpp
parent85dcfcae790ea9cf2f59e5eb3913a10d29728038 (diff)
Improve string handling in qmltyperegistrar
Use QLatin1StringView for all the constants and define them in one place. Parse the Json into Cbor in order to be able to retrieve UTF-8 data from it. Avoid conversion to QString wherever possible. We could further improve QQmlJSStreamWriter to avoid temporary allocations. Add some TODOs to this effect. This change shows some API gaps in our various string view classes. To work around them, we need our own QAnyStringViewUtils. Change-Id: I41054a5057102d29e1db9e66a5998569d97382f9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
0 files changed, 0 insertions, 0 deletions