Boost logo

Boost :

Subject: Re: [boost] [string] proposal
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2011-01-29 07:57:09


----- "Yakov Galka" <ybungalobill_at_[hidden]> wrote:

> On Sat, Jan 29, 2011 at 14:07, Ivan Le Lann <ivan.lelann_at_[hidden]>
> wrote:
>
> >
> > *My* *guess* is that Artyom think that:
> >
> > os_func ((s1 + s2 + s3 + ... + s100).c_str()); // s for
> std::string
> >
> > is dramatically faster than:
> >
> > os_func ((c1 + c2 + c3 + ... + c100).to_string().c_str()); // c
> for
> > "boost::chain"
> >
>
> Aren't they perform the same? Actually with lazy evaluation the latter
> will
> be faster.
>

For this example, I agree. I'm only stressing the marketing issue.
Eventually, we'll need figures here. Big-sized font figures.

Ivan


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