<div dir="ltr"><div class="gmail_extra">Just as a very small correction to some of the facts here:</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 2:24 PM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1) Uses a non-heap container (SmallString) by default.</blockquote></div><br>std::string has a small-string optimization in both libc++ and, whenever GCC takes the ABI break and conforms with C++11, libstdc++</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">So you don't have to use SmallString to avoid heap allocations. The primary advantage of SmallString is the ability to customize how many bytes are available in the internal buffer.</div>
</div>