From banchmark I perfromed, best time performence achived when iterating on keys and getting the value for each key. I believe the reason is that, 'each' creates 2 arrays and then iterate thorugh them, while on the other hand, each_key or each_value creat only 1 array in he background