summaryrefslogtreecommitdiffstats
path: root/src/s60main
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-09-02 09:50:45 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-09-02 11:04:57 (GMT)
commit4fd28ba87492f2f4725e48f1a3e30ed8cd099081 (patch)
tree8076abf19b71cc2ca9e8799c3a6be745895997f6 /src/s60main
parentf8bd803e6eac2d5c25fec9cb50b54128c57b6725 (diff)
downloadQt-4fd28ba87492f2f4725e48f1a3e30ed8cd099081.zip
Qt-4fd28ba87492f2f4725e48f1a3e30ed8cd099081.tar.gz
Qt-4fd28ba87492f2f4725e48f1a3e30ed8cd099081.tar.bz2
Faster SVG color parsing by tackling the #rrggbb color early.
If the color starts with '#', let's parse it ourselves rather than waiting for the (fall-back) QColor-from-QString which even requires us to create a QString out of the QStringRef. All widely used illustration programs output SVG with #rrggbb format to specify the color. Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 2.4% speed-up. Reviewed-by: Kim
Diffstat (limited to 'src/s60main')
0 files changed, 0 insertions, 0 deletions