diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-12-12 14:23:58 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 18:36:47 +0000 |
commit | fa0faf4c9ca1a0c8dda248a2502604e16eee8081 (patch) | |
tree | af24e6027da34bd4a1600c060b0b3bec6a8f89f2 /examples/widgets/painting/painterpaths | |
parent | 1532add5f0c8586351c8815e5a53019d6f120521 (diff) |
QIODevice: use QVLA to hold the ring buffers, not QList
The only users of more than one read- or write channel are the SCTP
code and QProcess. SCTP being pretty rare, optimize for the common
case of at most two QRingBuffers for reading (QProcess) and one for
writing. Even with more channels, QVLA shouldn't be slower than QList
- on the contrary.
Need to adjust tst_toolsupport and TypeInformationVersion, as
QFilePrivate::fileName has changed.
Change-Id: I3baf982ba1f4dc51463be8730e414f6164072d8b
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 63a35898f4990963fe91acd565df49111a281fa4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/painting/painterpaths')
0 files changed, 0 insertions, 0 deletions