Add a call to std::vector::reserve.
This reduces total allocations when linking clang fsds from 263.21MB to 174.62MB. This also has some very nice speed improvements on some benchmarks. Chromium and clang fsds link 6% faster. llvm-svn: 319976
Loading
Please sign in to comment