summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/moc/main.cpp
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-08-31 10:42:49 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-08-31 11:46:24 (GMT)
commit029b085b68e6c62b213492def16b5add282c0f1c (patch)
tree2060ae2650ec624f8c22c3d11861588a39359e63 /doc/src/snippets/moc/main.cpp
parentbcc023118ef5efc2f604498eb3b80c6d63338360 (diff)
downloadQt-029b085b68e6c62b213492def16b5add282c0f1c.zip
Qt-029b085b68e6c62b213492def16b5add282c0f1c.tar.gz
Qt-029b085b68e6c62b213492def16b5add282c0f1c.tar.bz2
Speed-up parseBrush() function for SVG parsing.
Use QStringRef as much as possible and leave the remaining QStringRef to QString conversion until it is absolutely necessary. When loading tiger.svg (tests/benchmarks/qsvgrenderer), the time spent in parseBrush() goes down from 1.5 millions instructions to 1.2 millions. Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/moc/main.cpp')
0 files changed, 0 insertions, 0 deletions