diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-03-10 09:46:04 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-03-10 16:22:27 (GMT) |
commit | f3bf93408fa4aa1d6837e08c21b9efa31263348c (patch) | |
tree | cc807502d7b2f59d657aca5ae020f9a07f6b549c /src/script/bridge/qscriptvariant.cpp | |
parent | a0164cbfcf2730e99030a2d4e03269acc228d2d4 (diff) | |
download | Qt-f3bf93408fa4aa1d6837e08c21b9efa31263348c.zip Qt-f3bf93408fa4aa1d6837e08c21b9efa31263348c.tar.gz Qt-f3bf93408fa4aa1d6837e08c21b9efa31263348c.tar.bz2 |
QtScript: Improve performance of type resolution when calling slots
Don't call QVector::append(). We know what the size of the vector
will be, so size it initially and work on QVector::data() directly.
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'src/script/bridge/qscriptvariant.cpp')
0 files changed, 0 insertions, 0 deletions