diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-26 16:32:25 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-01 11:01:37 (GMT) |
commit | bed5a692d9306be95c3fe843fcc6057bbe3ae8e2 (patch) | |
tree | 1708edb21a2be05daa6f0f63400464ec38dc3675 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp | |
parent | 5ce59a5796cb4a252ca30e099fc8ff592d558d76 (diff) | |
download | Qt-bed5a692d9306be95c3fe843fcc6057bbe3ae8e2.zip Qt-bed5a692d9306be95c3fe843fcc6057bbe3ae8e2.tar.gz Qt-bed5a692d9306be95c3fe843fcc6057bbe3ae8e2.tar.bz2 |
Optimise QStringList::join by pre-allocating the final size.
This avoids a number of reallocations due to appending.
This patch was contributed to us.
Task-number: QTBUG-3242
Reviewed-by: Thiago Macieira
(cherry picked from commit 7461ed5227e3002c4a6f74d458aa0255b7c1217d)
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions