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
I don't know if there is one in Boost.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at