« Return to Thread: [xpressive] Performance Tuning?

Re: [xpressive] Performance Tuning?

by Dave Jenkins-3 :: Rate this Message:

Reply to Author | View in Thread


"Stewart, Robert" <Robert.Stewart@...> wrote in message
news:DF2E67F3D097004694C8428C70A3FD69046843E230@......
>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.

Regards,
Dave Jenkins


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: [xpressive] Performance Tuning?