• Russ Cox's avatar
    cmd/gc, runtime: optimize map[string] lookup from []byte key · f5f5a8b6
    Russ Cox authored
    Brad has been asking for this for a while.
    I have resisted because I wanted to find a more general way to
    do this, one that would keep the performance of code introducing
    variables the same as the performance of code that did not.
    (See golang.org/issue/3512#c20).
    
    I have not found the more general way, and recent changes to
    remove ambiguously live temporaries have blown away the
    property I was trying to preserve, so that's no longer a reason
    not to make the change.
    
    Fixes #3512.
    
    LGTM=iant
    R=iant
    CC=bradfitz, golang-codereviews, khr, r
    https://golang.org/cl/83740044
    f5f5a8b6
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink 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...