• Alex Brainman's avatar
    runtime: speed up cgo calls · 72e83483
    Alex Brainman authored
    Allocate Defer on stack during cgo calls, as suggested
    by dvyukov. Also includes some comment corrections.
    
    benchmark                   old,ns/op   new,ns/op
    BenchmarkCgoCall                  669         330
    (Intel Xeon CPU 1.80GHz * 4, Linux 386)
    
    R=dvyukov, rsc
    CC=golang-dev
    https://golang.org/cl/4910041
    72e83483
Name
Last commit
Last update
..
arch.h Loading commit data...
asm.s Loading commit data...
atomic.c Loading commit data...
closure.c Loading commit data...
memmove.s Loading commit data...
traceback.c Loading commit data...