<html><head></head><body>It changes where things are allocated from. Right now every file has 3 allocators for the sections. With the patch all of them use a common allocator, so stuff from the same file is closer together. We also don't fragment memory as much.<br>
<br>
<br><br><div class="gmail_quote">On October 26, 2016 8:02:22 PM EDT, Rui Ueyama <ruiu@google.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">ruiu added a comment.<br /><br />I don't think I fully understand why this can make things faster. This patch replaces<br /><br /> llvm::SpecificBumpPtrAllocator<[derived class of InputSection]><br /><br />with<br /><br /> std::unique_ptr<InputSection>,<br /><br />so the number of allocations and the number of deallocation (which should be zero if _exit is called) don't change, IIUC.<br /><br /><br /><a href="https://reviews.llvm.org/D26006">https://reviews.llvm.org/D26006</a><br /><br /><br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>