• 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
..
compile.go Loading commit data...
doc.go Loading commit data...
make_perl_groups.pl Loading commit data...
parse.go Loading commit data...
parse_test.go Loading commit data...
perl_groups.go Loading commit data...
prog.go Loading commit data...
prog_test.go Loading commit data...
regexp.go Loading commit data...
simplify.go Loading commit data...
simplify_test.go Loading commit data...