|
Boost : |
Subject: Re: [boost] [xpressive] Performance Tuning?
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-07-28 23:21:04
OvermindDL1 wrote:
> On Tue, Jul 28, 2009 at 8:14 PM, Joel de
> Guzman<joel_at_[hidden]> wrote:
>> OvermindDL1 wrote:
>>> Also, I think I might know why QI is faster then atoi/strtol.
>>> atoi/strtol handle local as I recall, QI does not...
>> Sorry, I can't parse that. What do you mean by "handle local"?
>
> Er, locale*
Sure, that's one. The reason is because spirit numerics are
customizable. And they are even more customizable than the
locales provide. For example, you can tweak the floating point
parsers to handle numbers like:
1,234,567,890
or
1.234567890 exp -200
with the same high performance. And, surely, you can customize
them to handle locales.
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk