Boost logo

Boost :

Subject: Re: [boost] [Conversion] Practical applications
From: gast128 (gast128_at_[hidden])
Date: 2011-08-24 08:36:29


Phil Endecott <spam_from_boost_dev <at> chezphil.org> writes:

>
> Would anyone like to share any practical or motivating applications for
> the proposed Boost.Conversion library?

I cannot answer for the advanced use, but we are definitely interested in a fast
(locale independent) conversion from int/long/double to string. The good old
sprintf seems to beat the stringstream by a factor 2. This is important when you
do a large export (e.g. million data points) to csv or Excel (e.g. export drops
then from 20 minutes to 10 minutes).


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