<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 28, 2013 at 3:11 AM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":9tp" style="overflow:hidden">[PECOFF] Use std::set to store export symbol descriptors.<br>

<br>
Each export symbol descriptor has unique name attribute, so std::set is<br>
better container than std::vector for it.</div></blockquote></div><br>Really? Better than a sorted and uniqued vector? I find this very surprising. std::set is almost useless slow.</div><div class="gmail_extra"><br></div>
<div class="gmail_extra">Maybe you could use some of the more tuned LLVM datastructures? <a href="http://llvm.org/docs/ProgrammersManual.html#ds-set">http://llvm.org/docs/ProgrammersManual.html#ds-set</a></div></div>