4 ms·
Go not only uses a different library for processing regular expressions, but a different algorithm altogether. It is slower in some cases than the standard PCRE
by chimeracoder 13y ago
Go not only uses a different library for processing regular expressions, but a different algorithm altogether. It is slower in some cases than the standard PCRE implementations but faster in others.
http://code.google.com/p/re2/ http://code.google.com/p/re2/
- igouy 13y agoGo program using PCRE http://benchmarksgame.alioth.debian.org/u64/program.php?test=regexdna&lang=go&id=8 http://benchmarksgame.alioth.debian.org/u64/program.php?test...