Nicholas Nethercote 61e6b576d4 Avoid an allocation in readCharCode().
readCharCode() returns two values, and currently allocates a length-2
array on every call to do so. This change makes it instead us a
passed-in object which can be reused.

This tiny change reduces the total JS allocations done for the document
in Mozilla bug 992125 by 4.2%.
2014-08-12 16:12:58 -07:00
..
2014-07-18 22:34:50 +02:00
2014-07-18 22:34:50 +02:00
2014-07-18 22:34:50 +02:00