Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-09-19 04:49:47


> Right off, I spotted a couple of problems with your performance test:
>
> 1) The xpressive functions all have try/catch blocks in them, but the
> boost functions do not.

Right, but it's outside the timing code: I had to add the exception handling
to get the tests to run to completion because one of the expressions was
throwing, because xpressive wouldn't parse it.

> 2) You are not passing the "optimize" syntax_option_type flag to
> xpressive's regex constructor.

Ahah! That would be it probably.

> 3) People who care about performance *will* take the time to rewrite
> their patterns as static regexes, so a perf test that excludes static
> xpressive is less interesting.

Yep, I realise that.

John.


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