• Dmitriy Vyukov's avatar
    cmd/5g, cmd/6g, cmd/8g: faster compilation · 06e686de
    Dmitriy Vyukov authored
    Replace linked list walk with memset.
    This reduces CPU time taken by 'go install -a std' by ~10%.
    Before:
    real		user		sys
    0m23.561s	0m16.625s	0m5.848s
    0m23.766s	0m16.624s	0m5.846s
    0m23.742s	0m16.621s	0m5.868s
    after:
    0m22.714s	0m14.858s	0m6.138s
    0m22.644s	0m14.875s	0m6.120s
    0m22.604s	0m14.854s	0m6.081s
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/13084043
    06e686de
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...