Descriptioncmd/gc: Don't calculate second value in range if it is blank.
Low hanging fruit optimization. Will remove an expensive copy if the range variable is an array.
Patch Set 1 #Patch Set 2 : diff -r 99bb8c9e067d https://code.google.com/p/go/ #Patch Set 3 : diff -r 99bb8c9e067d https://code.google.com/p/go/ #Patch Set 4 : diff -r aa52f2efc386 https://code.google.com/p/go/ #MessagesTotal messages: 3
|