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

Multithreaded variance computation #672

Open
ummel opened this issue Nov 23, 2024 · 1 comment
Open

Multithreaded variance computation #672

ummel opened this issue Nov 23, 2024 · 1 comment

Comments

@ummel
Copy link

ummel commented Nov 23, 2024

I imagine @SebKrantz has considered this, so this question is mainly out of curiosity:

Is there a reason that multithreading is not possible for fvar() and fsd()?

For example, using Chan's parallel algorithm to combine single pass results computed on separate parts of x?

@SebKrantz
Copy link
Owner

Hi, yes, it is possible with the unstable algorithm available when stable.algo = FALSE. I just haven't done it yet. This is also not the default so it was not urgent. You can already get up to 4x speedup using the unstable algorithm.

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

No branches or pull requests

2 participants