Performance related:
* Hash improvements via better locality for modern CPUs
* #max and #min without temporary array
* Speed up instance variable access