[PATCH] D45571: [ELF] - Speedup MergeInputSection::splitStrings

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 12:16:14 PDT 2018


grimar added inline comments.


================
Comment at: ELF/InputSection.cpp:903
   for (size_t I = 0; I != Size; I += EntSize)
     Pieces.emplace_back(I, xxHash64(toStringRef(Data.slice(I, EntSize))),
                         !IsAlloc);
----------------
espindola wrote:
> For consistency we should probably also replace this use of xxHash64.
I just did not find a good test for that place. I tried to do that change, but for Scylla, there was no difference, so decided to not do that in this patch to keep the focus on the main place.


https://reviews.llvm.org/D45571





More information about the llvm-commits mailing list