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

port some of boot_algo more #14

Merged
merged 11 commits into from
Oct 14, 2022
Merged

port some of boot_algo more #14

merged 11 commits into from
Oct 14, 2022

Conversation

amichuda
Copy link
Collaborator

I've opened up a brach to port more of the bootalgo3 file.

@s3alfisc
Copy link
Member

s3alfisc commented Oct 13, 2022

With numba's jit compilation: for a problem with $N=10K$, $k=52$, $G=50$, $B=99999$, we compute a pvalue in around 0.8 seconds. That's plenty fast, and I did not even have to write any c/c++! I am really impressed by the performance improvements of adding nothing more than the @jit flag. For comparison, without jit compilation, I interrupted the same problem after 300 seconds because I got bored of waiting 😄

@s3alfisc s3alfisc marked this pull request as ready for review October 14, 2022 09:31
@s3alfisc s3alfisc merged commit 616c2a8 into main Oct 14, 2022
@s3alfisc s3alfisc deleted the bootalgo3-port branch October 14, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants