Ticket #41: fix array handling
Issue #41: replace StringIO with direct access

5x faster on CPython, PyPy for some toy examples.
Issue #41: remove unused skip().