Skip to content

Replace QString::fromUtf16() with QStringView::toString()

Fushan Wen requested to merge work/fuf/strview into master

The QStringView counterpart is somewhat faster because it doesn't go through the UTF-16 codec in QUtf16::convertToUnicode(), which tries to detect the BOM.

Follows qt/qt/qtbase@a6b4ff16

Merge request reports

Loading