diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-03-11 23:17:56 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 13:34:37 +0100 |
commit | 6a0d304a2dbbcabcfb570ec6508f6324ce9906ad (patch) | |
tree | 4fc861ae3bdfb496a663d18464bc34f2ecab18a5 /dist/changes-5.2.1 | |
parent | ab0d7f5619bffa87d4ea07f83a144841d49c9e9f (diff) |
QNetworkReplyHttpImpl: optimize QRingBuffer allocation
Use QSharedPointer<T>::create(), which co-locates the refcount with the payload
in a single memory allocation, instead of QSharedPointer<T>(new T), which causes
two allocations.
Change-Id: I280caf861b894f87996a9d3ae783943f55d54ff3
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Diffstat (limited to 'dist/changes-5.2.1')
0 files changed, 0 insertions, 0 deletions