Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
5
-
fa2153bd1 (dev), e3f230e7b (dev), 765c54420 (6.5)
-
Foundation Sprint 72
Description
In the scope of QTBUG-103302 the QXmlStreamWriter API is ported to QAnyStringView. In the case of QXmlStreamWriter::write this means the introduction of 3 new helper functions to handle QStringView, QLatin1StringView and QUtf8StringView.
To enhance performance, the QLatin1StringView and QStringView overloads should use stack buffers for re-coding to UTF-8, and write to the device in chunks, not allocating buffers themselves.
Attachments
Issue Links
- resulted from
-
QTBUG-103302 Port QXmlStreamWriter API to QAnyStringView
-
- Closed
-
For Gerrit Dashboard: QTBUG-109284 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
447550,3 | Optimize QXmlStreamWriterPrivate::doWriteToDevice(QLatin1StringView) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
447830,3 | Optimize QXmlStreamWriterPrivate::doWriteToDevice(QStringView) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
455121,2 | Optimize QXmlStreamWriterPrivate::doWriteToDevice(QLatin1StringView) | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |