
1 Oct
2011
1 Oct
'11
2:35 p.m.
2011/10/1 Mathias Gaunard <mathias.gaunard@ens-lyon.org>:
On 09/30/2011 08:29 PM, Antony Polukhin wrote:
Some conversion implementations already exist in lexical_cast library, and it is as fast as spirit for most cases.
Not really.
As for dependence to a locale, that's a shame. Yet another slow string/number conversion facility, as if there weren't enough already.
Consider the performance section of lexical_cast library documentation (trunk/libs/conversion/doc/lexical_cast.qbk). Latest version (the one, that is in the trunk) of Boost.Lexical_cast outperforms pure C functions, however still uses std::locale. Best regards, Antony Polukhin