Subject: Re: [boost] [xpressive] Performance Tuning?
From: Dave Jenkins (david_at_[hidden])
Date: 2009-07-01 14:20:34
"Stewart, Robert" <Robert.Stewart_at_[hidden]> wrote in message
>I was experimenting with Xpressive to see how it would compare with some
>custom, string-based numeric input parsing. The Xpressive code is over
>175X slower than the custom code.
Each call to parse() is constructing the sregex variables. If you make them
static or move them out of the loop, it should help a lot.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk