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

Optimize cov and cor with identical arguments #166

Merged
merged 1 commit into from
May 26, 2024

Conversation

devmotion
Copy link
Member

When reviewing JuliaStats/StatsBase.jl#923, I noticed that StatsBase uses a custom _cov function internally to improve performance of cov calls in pairwise invocations when both arguments of cov are identical. My feeling is that it would be better if such optimizations would be performed by Statistics.cov automatically.

@andreasnoack andreasnoack merged commit 71ebe28 into master May 26, 2024
16 checks passed
@andreasnoack andreasnoack deleted the dw/cov_cor_optimization branch May 26, 2024 18:57
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