This is a small optimization: 3% in clang, probably noise everywhere else.
It is also a bit simpler IMHO.
Paths
| Differential D44967
Initialize OffsetMap in a known location ClosedPublic Authored by • espindola on Mar 27 2018, 6:44 PM.
Details
Summary This is a small optimization: 3% in clang, probably noise everywhere else. It is also a bit simpler IMHO.
Diff Detail Event Timeline
This revision is now accepted and ready to land.Mar 27 2018, 7:52 PM
Revision Contents
Diff 140031 ELF/InputSection.h
ELF/InputSection.cpp
ELF/SyntheticSections.h
ELF/SyntheticSections.cpp
|
Is the point of this patch to parallelize initOffsetMap?
How many sections do you usually have MS->Sections? I thought it's not many.
Did you try parallelizing initOffsetMap itself? We have a huge number of Pieces, so there might be a large room for parallelization.