Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regexp: use a very fast random generator for benchmarks.
Calls into math/rand are very slow, especially under race detector because of heap accesses. go test -bench . -run none -benchtime .1s Before: 23.0s After: 17.4s Fixes golang#5837. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/11564044
- Loading branch information