-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: replace
std::pow(x, 0.25)
with std::sqrt(std::sqrt(x)) (#1150)
`powf64` is relatively slow. This change improves the performance of `ActsBenchmarkEigenStepper` by about 10%, the performance impact on the more real-world propagation with navigation (as in the propagation example with the generic detector), seems negligible. Overall I think it's probably still worth adding.
- Loading branch information
1 parent
f9dbc02
commit de6af39
Showing
2 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters