• 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
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
yacc Loading commit data...