Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2006-04-18 11:05:26


On 4/13/06, Lynn Allan <l_d_allan_at_[hidden]> wrote:
> Stuart Dootson wrote:
> > Lynn - it might be interesting to use re2c (http://re2c.org/) to
> > generate regex machines and see what their performance is like -
> > after
> > all, they do clain 're2c generates warning free code that is equal
> > to
> > hand-written code in terms of size, speed and quality.' (I'm
> > offering
> > no opinion on the veracity of that statement....), so (allegedly)
> > they'd give a reasonable hand-code analogue....
>
> Were you able to get it to work to do anything even close to
> recognizing Days-of-the-Week (full and abbreviations)? Did you find
> actual compilable examples with "main" invoking the generated scanners
> with a test-string to crunch?

Nope - never used it - just know of it. I've only needed to discard
Boost.Regex in a few (profiler indicated) cases, at which point I've
hand-coded a suitable routine.

Stuart Dootson


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net