<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 11, 2014 at 11:23 AM, 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">
<div id=":fha" class="a3s" style="overflow:hidden">Simplify the raw_svector_ostream tweak from r212816<br>
<br>
The memcpy() and overlap helps didn't help much with timings, so clean up the change.<br>
<br>
The difference at this point is that we now leave growth of the storage buffer<br>
up to SmallVector's implementation:<br>
<br>
 -   OS.reserve(OS.capacity() * 2);<br>
 +   OS.reserve(OS.size() + 64);</div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for fixing this, but in the future, it would be a lot easier to review this kind of patch by reverting the original and then re-applying just the cleanup portion of the patch.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">-Chandler</div></div></div>