diff options
author | Antti Harju <antti.harju@ixonos.com> | 2012-10-24 10:56:46 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-03 00:24:37 +0100 |
commit | 8fb379dc8a4d7069a99c3181283e581b86e99ceb (patch) | |
tree | 75b8b73b42a03a96db1c2b3f7958c4b439f93d0f /src/corelib/tools/qcache.qdoc | |
parent | 0d9eba94dc73366a4a222c90d3f8deccc4cb19c6 (diff) |
Improve QByteDataBuffer::read() performance with partial reads
Add a read position variable to eliminate excessive memcpy'ing when
reading a partial buffer.
Specifically, fix performance issue of reading large files from
QNetworkDiskCache in QtWebKit2.
Task-number: QTBUG-27522
Change-Id: I21edc909bf9223971b2c3db5f1fa6b89c5b61c5f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Antti Harju <antti.harju@ixonos.com>
Diffstat (limited to 'src/corelib/tools/qcache.qdoc')
0 files changed, 0 insertions, 0 deletions