diff options
author | Andreas Kling <andreas.kling@nokia.com> | 2010-06-17 01:22:38 (GMT) |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2010-06-17 15:04:38 (GMT) |
commit | 21af6bbee63bdac4907013d0abb0908086d85217 (patch) | |
tree | 3d27c28bbebe9ec3a51621ae263230bab983ccaa /tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp | |
parent | 0610902bcd722605f10840a6a3d1600e1e07f771 (diff) | |
download | Qt-21af6bbee63bdac4907013d0abb0908086d85217.zip Qt-21af6bbee63bdac4907013d0abb0908086d85217.tar.gz Qt-21af6bbee63bdac4907013d0abb0908086d85217.tar.bz2 |
Specialize peek() for QBuffer
This avoids going through the generic implementation in QIODevice
and avoids a 16kB buffer allocation from QIODevicePrivateLinearBuffer.
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp')
0 files changed, 0 insertions, 0 deletions