qt5base-lts/tests/auto
Lars Knoll 5cb0368516 Rewrite QMap to use a RB tree
QMap used to use a skiplist in Qt 4.x, which has variable
sized nodes and we can thus not optimise using custom
allocators.

The rewrite now uses a red-black tree, and all allocations
and tree operations happen in the cpp file. This will allow
us to introduce custom allocation schemes in later versions
of Qt.

Added some more tests and a benchmark. Memory consumption
of the new QMap implementation is pretty much the same as before.
Performance of insertion and lookup has increased by 10-30%. iteration
is slower, but still extremely fast and should not matter compared
to the work usually done when iterating.

Change-Id: I8796c0e4b207d01111e2ead7ae55afb464dd88f5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-03-23 09:31:09 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove commented code from qtconcurrentmap autotest. 2012-03-14 07:51:45 +01:00
corelib Rewrite QMap to use a RB tree 2012-03-23 09:31:09 +01:00
dbus QtDBus: make some constructors explicit 2012-03-12 15:22:30 +01:00
gui Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Fix QDnsLookup autotest failure in CI environment 2012-03-15 18:05:05 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Make copy and assign private for QAccessibleEvent. 2012-03-18 21:42:38 +01:00
printsupport Move tst_qprinter.cpp to QtPrintSupport 2012-03-12 13:14:05 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql QSqlTableModel::removeRows() enforce edit strategy 2012-03-15 15:35:43 +01:00
testlib testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
tools Bootstrap qdbuscpp2xml. 2012-03-18 14:14:42 +01:00
widgets Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Revert "Disable 'check' target generation for network autotests for Windows." 2012-03-15 18:05:05 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00