Boost logo

Boost :

Subject: Re: [boost] Checking interest in to_string functions
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2011-10-01 10:35:54


2011/10/1 Mathias Gaunard <mathias.gaunard_at_[hidden]>:
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk