summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/codingconventions/myscript.js
diff options
context:
space:
mode:
authorAndreas Kling <andreas.kling@nokia.com>2010-06-16 03:00:47 (GMT)
committerAndreas Kling <andreas.kling@nokia.com>2010-06-16 12:43:15 (GMT)
commit3d03e0a1fdd04e1ab97ba0f95a3a934c879d047e (patch)
tree3b0d1dc25d1cc55d5c1843b1d1b7cca2ca2c2306 /doc/src/snippets/declarative/codingconventions/myscript.js
parent47d3d5569e25d0e88259e1f0448d87325da0ab6a (diff)
downloadQt-3d03e0a1fdd04e1ab97ba0f95a3a934c879d047e.zip
Qt-3d03e0a1fdd04e1ab97ba0f95a3a934c879d047e.tar.gz
Qt-3d03e0a1fdd04e1ab97ba0f95a3a934c879d047e.tar.bz2
Defer allocation of GIF decoding tables/stack.
WebKit creates many image readers but will only retrieve the dimensions until the image itself is actually needed (i.e appears in the viewport.) This avoids allocating 16kB per GIF image until it's time to actually decode it. Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'doc/src/snippets/declarative/codingconventions/myscript.js')
0 files changed, 0 insertions, 0 deletions