summaryrefslogtreecommitdiffstats
path: root/LICENSE.PREVIEW.COMMERCIAL
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-08-31 14:14:45 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-08-31 14:54:28 (GMT)
commit89030379ea1c2621fca24d91eaff92aea44686da (patch)
treeeaf9fe2e12b82e0671b076e6b7e9538a2811d9ed /LICENSE.PREVIEW.COMMERCIAL
parentc94439e3d20b79db7df3e6b23b6753652b812e1f (diff)
downloadQt-89030379ea1c2621fca24d91eaff92aea44686da.zip
Qt-89030379ea1c2621fca24d91eaff92aea44686da.tar.gz
Qt-89030379ea1c2621fca24d91eaff92aea44686da.tar.bz2
Speed-up floating-point decoding for SVG parsing.
Instead of comparing the character to '0' and '9', use bit fiddling to detect that the character is a digit between '0' and '9'. Loading tiger.svg (tests/benchmarks/qsvgrenderer) is now 10% faster, going down from 85.3 millions instructions to 77.2 millions. Mostly this is due 46% speed-up in parseNumbersList() function, from 26.9 millions instructions to just 18.4 millions. Reviewed-by: Kim
Diffstat (limited to 'LICENSE.PREVIEW.COMMERCIAL')
0 files changed, 0 insertions, 0 deletions