
1 Jul
2009
1 Jul
'09
6:20 p.m.
"Stewart, Robert" <Robert.Stewart@sig.com> wrote in message news:DF2E67F3D097004694C8428C70A3FD69046843E230@msgbal516.ds.susq.com...
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