
29 Jan
2011
29 Jan
'11
12:14 p.m.
On Sat, Jan 29, 2011 at 14:07, Ivan Le Lann <ivan.lelann@free.fr> 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