<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="color:rgb(33,33,33); font-size:12pt">>Except this defeats/comes at a cost of the small vector optimization - std::move on a small vector in small mode is the same as a copy.</span><br>
</p>
<div style="color:rgb(33,33,33)">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>><br>
>Sorry, perhaps I should've commented the original code to explain/justify it better.<br>
><br>
>- David</div>
<div> <br>
</div>
<div>Small mode for small vector in this place is when it's size less than 32 bytes, right ?<br>
</div>
<div>Should we really care of this for the sake of simplicity of code ? I mean that for debug sections 32 bytes<br>
</div>
<div>is probably almost never a option, they usually should be greater anyways I think.<br>
</div>
<div><br>
</div>
<div>Just in case - I plan to revert to initial logic of this soon and update the patch, as it does not affect the main logic </div>
<div>and we can <span style="font-size: 12pt;">l</span><span style="font-size: 12pt;">and patch separatelly and return to this place later if we want to</span><span style="font-size: 12pt;">.​</span></div>
<div><br>
</div>
<div>George.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>