Details
- Reviewers
hliao
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | It'd be good to get rid of this completely since it shows up at the top of the expensive includes list but there's a non-trivial usage left below. |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | https://github.com/Trass3r/llvm-project/actions/runs/3458979320/jobs/5773908563#check-step-6 *** Expensive headers: 1461737 ms: lvm/include/llvm/ADT/Hashing.h (included 5485 times, avg 266 ms), included via: 1269781 ms: /usr/include/c++/11/algorithm (included 5535 times, avg 229 ms), included via: 987320 ms: /usr/include/c++/11/pstl/glue_algorithm_defs.h (included 5535 times, avg 178 ms), included via: |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | Do you have stats on how much this patch changes those numbers? |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | As mentioned since I couldn't remove the second rotate usage it doesn't change the top includes. |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | Do you think this change is still worth doing? |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | I guess the question is more generally whether these non-templated functions were implemented in the header for some good reason (performance etc) or it simply grew over time. |
llvm/include/llvm/ADT/Hashing.h | ||
---|---|---|
51 | Probably important that these functions get inlined - but we have ThinLTO and such these days for anyone building Clang for speed anyway. I don't have /super/ strong feelings. |
It'd be good to get rid of this completely since it shows up at the top of the expensive includes list but there's a non-trivial usage left below.