• Rob Pike's avatar
    testing: compile regexp only once · b8e4fbb7
    Rob Pike authored
    The -test.run and -test.bench flags were compilng the regexp for ever test
    function, which was mucking up memory profiles.   Add a simple wrapper
    to save the compiled state so that the regexp is compiled only once for
    each flag.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/4274063
    b8e4fbb7
Name
Last commit
Last update
..
Makefile Loading commit data...
doc.go Loading commit data...
gotest Loading commit data...
gotry Loading commit data...