The current chunking strategy is very bad for sorting, and we don't really know how to chunk in general. This fixes the performance problem for sorting.
Details
Details
- Reviewers
- ldionne 
- Group Reviewers
- Restricted Project 
- Commits
- rG051c8630124d: [libc++][PSTL] Simplify the partitioning algorithm until we have better data to…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM w/ test and passing CI, assuming fixing the CI is just a matter of rebasing and poking the CI.
| libcxx/src/pstl/libdispatch.cpp | ||
|---|---|---|
| 26 | Can you add tests that check the exact values for element_count == 0 and 1? | |
You can likely minimize some includes.