aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/qmlprofilerdata.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-05-12 13:33:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 17:22:55 +0200
commit788b8bbff92b8fe7563501db7708c2ac87b4e361 (patch)
tree33633de091ea136e76ff28580cd3e2770c2c25cb /tools/qmlprofiler/qmlprofilerdata.cpp
parent468a65c89eebeeb8c02cb83fe8ffd37c3e8937d2 (diff)
V4 RegAlloc: store, pass, and use life-time intervals by pointer.
By storing LifeTimeIntervals by pointer (instead of by value), other data-structures can safely use pointers too. This removes a lot of copies, especially in vectors that act as worklists. Also change the order of the "unhandled" list of intervals to be sorted in descending order. Not only is this more efficient, but it also removes the need to reverse the results of the life-range calculation (which produces the list in exactly this order). This change speeds up register allocation by about 20%. Change-Id: I6ea3dcd110f250d9ccc881753dc7392510a26d87 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools/qmlprofiler/qmlprofilerdata.cpp')
0 files changed, 0 insertions, 0 deletions