Performance/Addons/BestPractices: Difference between revisions

m
Line 116: Line 116:


==apng/agif inappropriate in a lot of cases==
==apng/agif inappropriate in a lot of cases==
Animations require a lot of time to set up (basically decoding many images, not just one; add timers and such to that). Then the image caches often get invalidated, causing your animated images to be reloaded lots of times.  
Animations require a lot of time to set up, as a lot of images are decoded (the frames).
nsITree/<tree> seems to be extra special in this regard, as it seem to
Animated images may have their cached representations evicted quite often, causing the frames of your animated images to be reloaded lots of times, not just once.
not cache animations at all under some circumstances.
nsITree/<tree> seems to be extra special in this regard, as it doesn't seem to
cache animations at all under certain circumstances.


==base64/md5/sha1 implementations==
==base64/md5/sha1 implementations==
33

edits