summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptvariant.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-03-10 09:46:04 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-03-10 16:22:27 (GMT)
commitf3bf93408fa4aa1d6837e08c21b9efa31263348c (patch)
treecc807502d7b2f59d657aca5ae020f9a07f6b549c /src/script/bridge/qscriptvariant.cpp
parenta0164cbfcf2730e99030a2d4e03269acc228d2d4 (diff)
downloadQt-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