• Keith Randall's avatar
    cmd/6g: inline copies of up to 4 words in length. · 0ea20bc9
    Keith Randall authored
    This change fixes a serious performance regression
    with reflect.Value growing to 4 words instead of 3.
    The json benchmark was ~50% slower, with this change
    it is ~5% slower (and the binary is 0.5% larger).
    
    Longer term, we probably need to rethink our copy
    generation.  Using REP is really expensive time-wise.
    But inlining the copy grows the binary.
    
    R=golang-codereviews, r
    CC=golang-codereviews
    https://golang.org/cl/44990043
    0ea20bc9
Name
Last commit
Last update
..
Makefile Loading commit data...
cgen.c Loading commit data...
doc.go Loading commit data...
galign.c Loading commit data...
gg.h Loading commit data...
ggen.c Loading commit data...
gobj.c Loading commit data...
gsubr.c Loading commit data...
list.c Loading commit data...
opt.h Loading commit data...
peep.c Loading commit data...
prog.c Loading commit data...
reg.c Loading commit data...