Skip to content

Port from QStringRef to QStringView

Volker Krause requested to merge work/vkrause/qt6-string-ref into master

The QStringView::toNumber methods in Qt5 cause one extra allocation compared to the QStringRef counter-part. As long as we aren't on a hot path this is probably not worth the extra #ifdef though.

Merge request reports