Avoid creating unneeded Hash instance and calling slow Hash#fetch
The code was not up-to-date
Avoid creating range objects (take II)
Reduce object allocation
Reduce object allocation
instance_eval is evil