-
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