Boost logo

Boost Users :

Subject: Re: [Boost-users] google.stringencoders vs (boost.string_algo & boost.lexical_cast)
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-05-29 09:29:32


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-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