Indeed this commit uses a little bit more memory*. This seems to well within the CPU cache according to the speed improvement I measured.

*:  9 bytes of raw data ( Add to that the extra data the VM needs to identify TypedArrays ) in the cases I saw with the 33M pixels JBIG2 images.