diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-17 20:44:39 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-21 11:46:59 +0000 |
commit | e4750177536d096221a50d221124a4f1047a5456 (patch) | |
tree | 4261af41a72025954c709567c11511bb8c42e21c /src/widgets/kernel/qgesturemanager.cpp | |
parent | 3045ac99f296b866b25df318f13726d8f64494e8 (diff) |
QtTest: don't hold QBenchmarkResults in QList
QBenchmarkResult is larger than a void*, so holding them in a QList is
needlessly inefficient. Worse, the code could come to depend on the
fragile property of (inefficient) QLists that references to elements
therein never are invalidated.
Also saves ~1.2KiB of text size on GCC 4.9 optimized C++11 AMD64
Linux builds.
Change-Id: I0c99e591bb9b4405aa1bb78ec095dcaf9277993f
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/kernel/qgesturemanager.cpp')
0 files changed, 0 insertions, 0 deletions