[Haskell-cafe] performance question

Brandon Allbery allbery.b at gmail.com
Wed Feb 13 16:12:14 CET 2013


On Tue, Feb 12, 2013 at 11:32 PM, <briand at aracnet.com> wrote:

> actualy native code compiler.  Can't regex be done effectively in haskell
> ?  Is it something that can't be done, or is it just such minimal effort to
> link to pcre that it's not worth the trouble ?
>

PCRE is pretty heavily optimized.  POSIX regex engines generally rely on
vendor regex libraries which my not be well optimized; there is a native
Haskell implementation as well, but that one runs into a different issue,
namely a lack of interest (regexes are often seen as "foreign" to
Haskell-think, so there's little interest in making them work well; people
who *do* need them for some reason usually punt to pcre).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130213/7f578525/attachment.htm>


More information about the Haskell-Cafe mailing list