summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2010-08-02 07:57:15 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2010-09-30 10:47:00 (GMT)
commit06893e99c46d28b9f02ce7158c07372daa6b9bba (patch)
tree8af22836fe4a3615495724e97b01e21b3a9932b7 /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
parent44d77de30dc61974640a5c6bee7ce1ff2cded0f5 (diff)
downloadQt-06893e99c46d28b9f02ce7158c07372daa6b9bba.zip
Qt-06893e99c46d28b9f02ce7158c07372daa6b9bba.tar.gz
Qt-06893e99c46d28b9f02ce7158c07372daa6b9bba.tar.bz2
Improve lookup speed of QMetaType::type().
Improvement bases on changed algorithm, now instead of looping over list of types, we are using a hash table to perform a lookup. For the QMetaType::builtinTypes benchmark, this improves performance 2 times. Performance of these function is important for all bindings in the QtScript and probably in the QML. Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions