• 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
api Loading commit data...
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...