AVRO-1260. Ruby: Improve read performance.  Contributed by Martin Kleppmann.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1451689 13f79535-47bb-0310-9956-ffa450edef68