• Brad Fitzpatrick's avatar
    regexp/syntax: optimize EmptyOpContext · 90351506
    Brad Fitzpatrick authored
    Minor. Saw this in a profile at few percent of CPU and was
    curious what it was. Improves overall regexp benchmarks
    anywhere from 0 to 3%, but they're a pain to run. You need to
    run them in isolation for long runs to get stable numbers.
    
    benchmark                  old ns/op    new ns/op    delta
    BenchmarkEmptyOpContext          537          473  -11.92%
    
    R=golang-dev, crawshaw
    CC=golang-dev
    https://golang.org/cl/13407043
    90351506
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach 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...
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...