Microoptimization: Avoid extraneous array creation in commonly-used methods