Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization of katsuura function calculation #31

Merged
merged 1 commit into from Apr 26, 2024

Conversation

firestrand
Copy link
Contributor

Closes #

📑 Description

While testing functions at 1,000,000 dimensions found the existing katsuura implementation slow, execution > 1 min. Optimized by precomputing the powers of 2 and saw an > 80x speedup compared to previous performance.

All existing tests for accuracy continue to pass.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

@thieu1995 thieu1995 merged commit 9961a42 into thieu1995:master Apr 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants