diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-03-16 16:08:36 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-03-16 16:10:59 (GMT) |
commit | 92f2f1a9c74704b6c8125766c18f7c3946a50634 (patch) | |
tree | 108b6247f23b54080352c165498dc6deb99b2fe0 /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | d10667052db5dc2f4d1c7a7c161b040e9747897e (diff) | |
download | Qt-92f2f1a9c74704b6c8125766c18f7c3946a50634.zip Qt-92f2f1a9c74704b6c8125766c18f7c3946a50634.tar.gz Qt-92f2f1a9c74704b6c8125766c18f7c3946a50634.tar.bz2 |
Don't use QScriptValueIterator to iterate over an array
QScriptValueIterator will return properties that are non-enumerable,
such as "length".
QScriptValueIterator will return properties that are not array
elements, such as "foo".
QScriptValueIterator is slower than using index-based access,
because the iterator builds an array of the string representation
of each index, which we don't need.
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions