diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-09-02 09:50:45 (GMT) |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-09-02 11:04:57 (GMT) |
commit | 4fd28ba87492f2f4725e48f1a3e30ed8cd099081 (patch) | |
tree | 8076abf19b71cc2ca9e8799c3a6be745895997f6 /configure.exe | |
parent | f8bd803e6eac2d5c25fec9cb50b54128c57b6725 (diff) | |
download | Qt-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 'configure.exe')
0 files changed, 0 insertions, 0 deletions