qt5base-lts/tests/benchmarks/corelib
João Abecasis fd96115ae8 QVector: always grow exponentially
For non-movable types (QTypeInfo<T>::isStatic), QVector would grow the
array linearly, and defer to qAllocMore otherwise. That property,
however, gives no indication as to how the vector will grow.

By forcing additional allocations for growing containers of such types,
this penalized exactly those objects which are more expensive to move.

We now let qAllocMore reign in growth decisions.

Change-Id: I843a89dcdc21d09868c6b62a846a7e1e4548e399
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-17 21:23:20 +01:00
..
codecs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
io Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
json tests: do not run benchmarks by default in 'make check' 2012-02-02 09:27:25 +01:00
kernel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
plugin Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
tools QVector: always grow exponentially 2012-02-17 21:23:20 +01:00
corelib.pro Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00