On Tuesday, 19 July 2016 at 15:28:45 UTC, Johan Engelen wrote:
On Tuesday, 19 July 2016 at 10:07:11 UTC, Atila Neves wrote:[...]Very interested to hear why one is faster than the other.[...]The strings seem a little short, e.g. "foo1234foo" if I understand correctly. Could there be a performance hit in C++ due to small-string optimization ? (Don't know if it is done at all, nor what the threshold is)
Small string optimization should _help_ std::string, no? Atila