• Keith Randall's avatar
    cmd/compile: inline {i,e}facethash · d0c11577
    Keith Randall authored
    These functions are really simple, the overhead of calling
    them (in both time and code size) is larger than the inlined versions.
    
    Reorganize how the nil case in a type switch is handled, as we have
    to check for nil explicitly now anyway.
    
    Saves about 0.8% in the binary size of the go tool.
    
    Change-Id: I8501b62d72fde43650b79f52b5f699f1fbd0e7e7
    Reviewed-on: https://go-review.googlesource.com/19814
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    d0c11577
Name
Last commit
Last update
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...