diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-10-31 13:22:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-31 20:16:11 +0100 |
commit | 02a8fc62491fbdee1913c2c20c939308e05f8d6f (patch) | |
tree | 5aa9117fd27491f74574fd2c0e21ab7da73fb236 /tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule | |
parent | a02863c6cea9cd9dac5cff5c92f64c05de513675 (diff) |
Optimize string additions
QV4::String can now either hold a pointer to a QStringData,
or a pair of pointers to a left and right string. This
reduces the overhead of an addition to allocating a new
GC'ed object.
To avoid huge chains of linked strings, we use a depth counter,
and flatten the string once the depth reaches 16.
Change-Id: If7192b8a9f67f0e36a9a8ea34a156c5222f127f4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule')
0 files changed, 0 insertions, 0 deletions