4 ms·
I think his answer is useful. It does explain what's going on. If the performance characteristics of PCRE suit your problem better it's trivial to write a cgo w
by EdiX 14y ago
I think his answer is useful. It does explain what's going on. If the performance characteristics of PCRE suit your problem better it's trivial to write a cgo wrapper for it. There's even one on github, though I don't know if it works.
- igouy 14y agoIt works (and will be updated across the website once Go1.1 is released). http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=regexdna&lang=go&id=7&data=u64q http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...