On Wednesday, September 2, 2015 at 12:19:33 PM UTC-4, Steven G. Johnson wrote: > > Note that regexps in Julia are implemented with the PCRE library. If you > google "PCRE vs Python" you'll find several comparisons. The upshot seems > to be that PCRE is about 2x slower than Python's regex implementation > (which is also written in C, of course) for many common tasks, but PCRE is > more full-featured (as long as you are willing to restrict yourself to the > UTF-8 encoding, which is the default in Julia). >
Hmm, I've found other benchmarks claiming that Python is slower than PCRE. All of the online benchmarks seem to be pretty old, though, so I'm not sure what the true story is these days.
