qt6-bb10/tests/benchmarks/corelib/tools/qvector
João Abecasis a1621d235d Change QVector's in-memory data layout
The new layout matches that of QByteArrayData and QStringData, except
for offset which is measured from the beginning of QVectorData, whereas
in those classes it (still?) references the end of the header data.

The new layout uses an extra member for storing an offset into the data,
which will allow introducing QVector::fromRawData, similar to the same
functionality already existing in QString and QByteArray.

By not using an actual array to index array members, we also steer clear
of GCC bug #43247:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43247

Change-Id: I408915aacadf616b4633bbbf5cae1fc19e415087
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-02-22 17:37:29 +01:00
..
main.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
outofline.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrawvector.h Change QVector's in-memory data layout 2012-02-22 17:37:29 +01:00
qvector.pro benchmarks: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00