[Haskell-cafe] Haskell performance when it comes to regex?

Evan Laforge qdunkan at gmail.com
Tue May 30 04:48:57 UTC 2017


On Mon, May 29, 2017 at 7:40 AM, Bram Neijt <bneijt at gmail.com> wrote:
> The 80% diff is now gone, the Python code was everything without the
> leveldb stuff (but still, compiling the regexes every time, so it
> seemed like a valid comparison at the time), see attachment for code.

Python's re module has an internal cache, so it probably wasn't
compiling every time.


More information about the Haskell-Cafe mailing list