summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-05-08 04:43:16 +0300
committerQt by Nokia <qt-info@nokia.com>2012-05-11 10:38:25 +0200
commit3fe02eaa120d6ee5e058b45b66a2ae6f2677f35b (patch)
treef3b2e327eb6852b4dc62147967962d852b6e85d1 /src/tools/qdoc/cppcodeparser.cpp
parent390291047e73fedb7340bd2596cb83c7aed092a3 (diff)
significant unicodetables generator performance optimization
since the entire range of a valid unicode code points is in use, QHash is suboptimal and could be replaced with QList; taking the value by ref and not inserting it back to the map + not calculating the default value over and over gains us up to 60% performance boost! Change-Id: I48c54a8e88472cf76c79c0aac44e65eeefa44861 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions