Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2005-09-13 07:21:03


Cytowanie Andy Little <andy_at_[hidden]>:
> Boost already has Regex. What is different about xpressive?

I can not take part in full review for variety of reasons (primary I have little
knowledge of the problem domain and I'm on vacation now), but there is something
very important about xpressive - it provides static (compile-time) regular
expressions. This allows an extra performance boost, which is very important
for some users - eg. my colleagues at work. We use Boost.Regex extensively and
parts of our software are very CPU-bound. Switch to xpressive could free some
(badly needed) CPU cycles. For the same reason my colleagues are considering
switch to Spirit, but learning curve (and library complexity) seems to be
steeper. If my voice is worth anything, I would strongly vote YES due to
performance benefits. Besides, I believe it is just fine to have more that one
implementation of regex if they are sufficiently different (choice is a Good
Thing).

B.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk