• 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
..
Makefile Loading commit data...
align.go Loading commit data...
basic.go Loading commit data...
callback.go Loading commit data...
callback_c.c Loading commit data...
cgo_test.go Loading commit data...
duplicate_symbol.go Loading commit data...
env.go Loading commit data...
exports.go Loading commit data...
issue1222.go Loading commit data...
issue1328.go Loading commit data...
issue1560.go Loading commit data...
runtime.c Loading commit data...