ruby array.shift benchmark