Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: ChrisK <haskell <at> list.mightyreason.com>
Subject: ANN: regex-tdfa-1.1.0
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Wednesday 18th March 2009 12:23:58 UTC (over 8 years ago)
I have just uploaded the new regex-tdfa-1.1.0 to hackage.  This version is
a 
small performance update to the old regex-tdfa-1.0.0 version.

Previously all text (e.g. ByteString) being search was converted to String
and 
sent through a single engine.

The new version uses a type class and SPECIALIZE pragmas to avoid
converting to 
String.  This should make adding support for searching other Char
containers 
easy to do.

The new version includes six specialized engine loops to take advantage of 
obvious optimizations of the traversal.  The previous version had only a
couple 
of such engines.  The new code paths have been tested for correctness and
no 
performance degradations have shown up.

-- 
Chris
 
CD: 2ms