• Ingo Oeser's avatar
    cmd/compile: use range construct · 33fd4535
    Ingo Oeser authored
    so the code is more readable.
    
    Also use n[i] = val instead of n = append(n, val),
    because this avoids a function call to append.
    
    NOTE: compiles, but I had trouble running toolstash -cmp and need sleep
    now.
    
    @Ian this might save you some grunt work :-)
    
    Change-Id: I2a4c70396c58905f7d5aabf83f3020f11dea0e89
    Reviewed-on: https://go-review.googlesource.com/20430Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    33fd4535
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...