qt6-bb10/tests/benchmarks/corelib
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
..
codecs Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
io Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
json Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
kernel Merge master into api_changes 2012-03-19 10:03:48 +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 Rewrite QMap to use a RB tree 2012-03-23 09:31:09 +01:00
corelib.pro Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00