Boost logo

Boost Users :

Subject: Re: [Boost-users] google.stringencoders vs (boost.string_algo & boost.lexical_cast)
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2009-05-29 10:04:27


Mathias Gaunard wrote:
> Roman Shmelev wrote:
>
>> stringencoders are told to be 2x faster than std approaches. But what
>> about boost?
>
> Given boost::lexical_cast and boost::format are using standard C++
> streams, which are known to be slower than C sprintf and even more
> slower than itoa dtoa, the answer seems obvious.
>
> Now however, a string formatting DSEL could probably compete with this
> library.
> I don't know if there is one in Boost.

boost.string.convert has been submitted for review.

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net