Descriptiontesting: compile regexp only once
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.
Patch Set 1 #Patch Set 2 : diff -r f99e5037f2d1 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|