| Summary: | clang 9 and later performance regression using pointers to traverse arrays | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Jason W. Bacon <jwb> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | New --- | ||
| Severity: | Affects Some People | ||
| Priority: | --- | ||
| Version: | Unspecified | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Jason W. Bacon
2021-11-12 01:09:53 UTC
I confirmed that the same issue exists (sort of) on MacOS with clang 13. The performance gap between subscripts and pointers is much less pronounced, but significant. Just submitted an upstream issue: https://github.com/llvm/llvm-project/issues/53205 |