Boost logo

Boost :

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.

Dave Jenkins

Boost list run by bdawes at, gregod at, cpdaniel at, john at