
On 4/13/06, Lynn Allan
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