Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Stop avoiding regular expressions damn it. Parent comment
Realistically, you'd expect them to behave exactly the same, but Go's pretty new, and you never know what is or isn't going to be optimized.
`\A@(.*)@\z` BenchmarkRegexp 500000 5181 ns/op BenchmarkStrings 10000000 171 ns/op
Realistically, you'd expect them to behave exactly the same, but Go's pretty new, and you never know what is or isn't going to be optimized.