aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/testtypes.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-05-12 11:24:08 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-03 11:54:10 +0200
commit481447ae664fa2998cb03f93f0c066caa2782bf0 (patch)
tree7faba9642a485ad14edbdf9977f746fae2dfcb1f /tests/auto/qml/qqmllanguage/testtypes.h
parent6725bc8f163baa8e12585d3f90a079bd92992a0b (diff)
V4 IR: lower the number of memory allocations.
By using vectors indexed on temp-id instead of hashes. Also record the order in which intervals are removed from the list of life ranges. This order is the inverse of the list of ranges sorted by start position. So instead of building _sortedIntervals and then sorting them, reverse iterating over the finished intervals will do the same. This speeds up the interval calculation by 40%. Change-Id: If3c78496d7ca2d0e23f0a51302dcd1094dad7d4a Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/testtypes.h')
0 files changed, 0 insertions, 0 deletions