qt5base-lts/tests/auto/tools
Giuseppe D'Angelo 4893a5422e New qHash algorithm for uchar/ushort arrays (QString, QByteArray, etc.)
Port of Robin's work from I0a53aa4581e25b351b9cb5033415b5163d05fe71
on top of the new qHash patches (the original commit just introduced
lots of conflicts, so I redid it from scratch).

This is based on the work done in the QHash benchmark over the past
few months experimenting with the performance of the string hashing
algorithm used by Java.

The Java algorithm, in turn, appears to have been based off a
variant of djb's work at http://cr.yp.to/cdb/cdb.txt.

This commit provides a performance boost of ~12-33% on the
QHash benchmark.

Unfortunately, the rcc test depends on QHash ordering.
Randomizing QHash or changing qHash will cause the test to fail
(see QTBUG-25078), so for now the testdata is changed as well.

Done-with: Robin Burchell
Change-Id: Ie05d8e21588d1b2d4bd555ef254e1eb101864b75
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2012-04-09 10:16:09 +02:00
..
moc moc: test signature with (void) 2012-03-16 17:37:18 +01:00
qdbuscpp2xml Bootstrap qdbuscpp2xml. 2012-03-18 14:14:42 +01:00
qmake remove strange .qmake.cache hacks 2012-03-08 18:54:46 +01:00
rcc New qHash algorithm for uchar/ushort arrays (QString, QByteArray, etc.) 2012-04-09 10:16:09 +02:00
uic uic: use QStringLiteral() instead of QString::fromUtf8() where applicable 2012-02-20 15:17:08 +01:00
tools.pro Bootstrap qdbuscpp2xml. 2012-03-18 14:14:42 +01:00