summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorThorbjørn Martsum <tmartsum@gmail.com>2013-07-31 07:01:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-16 12:31:52 +0200
commit8b86443e36bc3102e97be4f40f381151d19fd1a5 (patch)
treee48093aa5b7b8deb62a7f85ad4e0e60365dd2181 /src/corelib/thread
parent9b093871a683650011f2c317441e3879df4688eb (diff)
QVector - optimize removeLast (and takeLast + pop_back)
In our benchmarks this makes removeLast more than twice as fast. (That is on my core I7 laptop with gcc on linux). It changes the alloc test to be an assert rather than an if. Change-Id: Id55195b9b7880e54a89be4dd9d6228d94aff23c7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions