$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [string] proposal
From: Yakov Galka (ybungalobill_at_[hidden])
Date: 2011-01-29 07:14:03
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.
-- Yakov