Printing speed improvements

* print_escaped: simplify, reduce expected number of comparisons
* arrays/tuples: don't duplicate array

Offers about a 10% speed improvement on @samuelcolvin's tests in #66.