Avoiding hash lookups in a Ruby implementation · HackerTrans