• Rui Ueyama's avatar
    undo CL 101330053 / c19c9a063fe8 · a200e0b8
    Rui Ueyama authored
    sync.Pool is not supposed to be used everywhere, but is
    a last resort.
    
    ««« original CL description
    strings: use sync.Pool to cache buffer
    
    benchmark                         old ns/op    new ns/op    delta
    BenchmarkByteReplacerWriteString       3596         3094  -13.96%
    
    benchmark                        old allocs   new allocs    delta
    BenchmarkByteReplacerWriteString          1            0  -100.00%
    
    LGTM=dvyukov
    R=bradfitz, dave, dvyukov
    CC=golang-codereviews
    https://golang.org/cl/101330053
    »»»
    
    LGTM=dave
    R=r, dave
    CC=golang-codereviews
    https://golang.org/cl/102610043
    a200e0b8
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
nacltest.bash Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...