[whatwg] Canvas pixel manipulation and performance

Boris Zbarsky bzbarsky at MIT.EDU
Sun Nov 29 12:57:11 PST 2009


On 11/29/09 3:33 PM, Jason Oster wrote:
> It might be important to note that this.fgmap.render() method also does some tile decoding (to convert the SNES tile format into a usable bitmap), and caches the results.
>
> Does that make more sense?  I know it is difficult to follow unfamiliar code, but I would like to clear up any questions you might have.

So the new code has to do about half as much tile decoding, as well as 
half the number of imagedata[n] sets?  Or was the decoding already being 
cached?

-Boris



More information about the whatwg mailing list