Analyzing the performance difference between ranges with index and with value.