summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2013-09-11 23:10:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-13 11:47:06 +0200
commit48586b2bac623605e9f300f8e5380e4f4b484dab (patch)
treef3042d8bee7cc54b0733f12aa73dd93cc27da2b8 /src/corelib
parent12bd604f241d41d52ab3fde9f4a8f4f5c2f3fa6d (diff)
QTest: use nth_element to calculate the median
Sorting is O(NlogN) complexity, while nth_element is linear. Change-Id: Ic6596affe183494e87abe7bdaa7c9985f5b7cd58 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions