Add comment explaining OP_RESERVED behaviour with push ops.
preallocate a few arrays.

When we do append loops, make an educated guess as to the size and make an array
with that capacity to avoid extra copying.

Doesn't affect the speed of the tests, over 4 runs the difference was lost in
the noise.