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

Fix unnecessary allocations in distGauss! #96

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Conversation

Affie
Copy link
Member

@Affie Affie commented Oct 12, 2023

This was actually a performance bottleneck in IIF.

Also, note that isX86Arch is not used.

Standard hex test:
Before:
3.699988 seconds (1.78 M allocations: 90.311 MiB, 1.34% gc time)
After:
2.668882 seconds (1.31 M allocations: 62.113 MiB, 0.94% gc time)

@Affie Affie requested a review from dehann October 12, 2023 09:16
@Affie Affie added this to the v0.5.12 milestone Oct 12, 2023
Copy link
Member

@dehann dehann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow okay... would you mind trying === also?

@Affie Affie merged commit 4f91838 into master Oct 12, 2023
2 checks passed
@Affie Affie deleted the 23Q4/fix/perform_distGauss branch October 12, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants