• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...