summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4sparsearray.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-09-08 15:24:00 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2015-09-25 08:39:40 +0000
commitd5d9c3097a151c774e9da476dc9131b69a7cb03d (patch)
treeea059027d3256849839da6b17a5b4f72b1b6b352 /src/qml/jsruntime/qv4sparsearray.cpp
parent58f9a94f466a0c46e2bf87c22648990497e928e4 (diff)
downloadqtdeclarative-d5d9c3097a151c774e9da476dc9131b69a7cb03d.tar.gz
Improve algorithm to handle GC of Strings
The old algorithm could lead to excessive garbage collection in cases where lots of strings are being created. The new algorithm is a bit more agressive in doubling the GC limit for string data. This doubles the performance of both the v8 regexp and splay benchmarks. Change-Id: I2b5cd27c14410b033038a409d5ae03c9636d4f71 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4sparsearray.cpp')
0 files changed, 0 insertions, 0 deletions