qt6-bb10/tests/auto/corelib/tools
Lars Knoll 5279134935 Reuse one QCollator instance for QString::localeAwareCompare
Constructing a QCollator is somewhat expensive, and made
localeAwareCompare really slow. As QCollator (at least with
the ICU implementation) is not thread safe, use one collator
per thread. This speeds up collation of a long list of strings
by a factor of 250 for the test case in the bug below.

Task-number: QTBUG-36149
Change-Id: I645cdc3546347d1dcc7a03b7563b628c7f756944
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2014-03-27 07:31:01 +01:00
..
qalgorithms tst_QAlgorithms: fix compilation with C++11 enabled 2013-11-17 09:48:17 +01:00
qarraydata Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qarraydata_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qbitarray
qbytearray Add Objective-C specific type converters to QByteArray 2014-03-08 00:21:53 +01:00
qbytearraymatcher
qbytedatabuffer don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
qcache
qchar Fix qchar testdata installation. 2014-03-14 18:19:00 +01:00
qcollator QCollator: enable move semantics 2013-11-17 09:47:07 +01:00
qcommandlineparser Merge remote-tracking branch 'origin/stable' into dev 2013-12-24 00:56:59 +01:00
qcontiguouscache
qcryptographichash Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qdate QDate - Fix parsing Qt::ISODate 2014-01-11 20:45:22 +01:00
qdatetime Fix QDateTime auto test 2014-02-14 10:51:44 +01:00
qeasingcurve Fix MSVC-warnings about double to float truncation. 2014-01-24 20:26:39 +01:00
qelapsedtimer
qexplicitlyshareddatapointer
qfreelist
qhash Remove qSort usages from core tests 2014-02-22 09:51:14 +01:00
qhash_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qline
qlinkedlist QLinkedList - extend the auto test. 2013-08-29 08:16:44 +02:00
qlist Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qlist_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qlocale Revert "test: marked tst_qlocale as insignificant on Windows" 2014-01-30 18:04:59 +01:00
qmap Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmap_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmargins QMarginsF - Add new QMarginsF class 2014-02-21 20:33:10 +01:00
qmessageauthenticationcode Removed unnecessary TESTDATA statement from qmessageauthenticationcode. 2014-03-14 15:26:21 +01:00
qpair
qpoint
qpointf Fix QPointF::division autotest 2013-08-19 14:24:28 +02:00
qqueue Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qrect QMarginsF - Add new QMarginsF class 2014-02-21 20:33:10 +01:00
qregexp
qregularexpression QRegularExpression: print a warning if (?J) is used in a pattern 2013-02-12 22:40:21 +01:00
qringbuffer
qscopedpointer Revert "Implement move-ctor and move-assignment-op for QScopedPointer" 2013-09-05 08:20:19 +02:00
qscopedvaluerollback
qset
qsharedpointer Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qsize
qsizef
qstl
qstring Reuse one QCollator instance for QString::localeAwareCompare 2014-03-27 07:31:01 +01:00
qstring_no_cast_from_bytearray
qstringbuilder
qstringiterator Long live QStringIterator! 2014-02-07 04:47:04 +01:00
qstringlist
qstringmatcher
qstringref New QStringRef methods. 2013-09-11 08:06:21 +02:00
qtextboundaryfinder Remove qSort usages from core tests 2014-02-22 09:51:14 +01:00
qtime Use the short time format of the current locale on Windows 2013-12-16 22:26:37 +01:00
qtimeline Fixed bug in QTimeLine::setPaused(false) 2013-03-13 14:51:05 +01:00
qtimezone Merge remote-tracking branch 'origin/stable' into dev 2013-12-16 16:59:33 +01:00
qvarlengtharray Add QVarLengthArray::{indexOf,lastIndexOf,contains} functions 2014-01-09 17:42:22 +01:00
qvector Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qvector_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
tools.pro Revert the QByteArrayList addition to Qt 5.3 2014-03-08 00:21:53 +01:00