-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
bitwise.ia() degraded performance on windows #234
Comments
N.B. I realized that I never tested
R CMD check output on winbuilder
|
zkamvar
added a commit
that referenced
this issue
Feb 4, 2021
Windows machines apparently do not treat long int the same way that UNIX machines do and caused integer overflows for people who were performing bitwise.ia() on sample sizes of more than 2000 loci x 200 individuals. This wasn't caught earlier because I had skipped these tests on CRAN and appveyor didn't run them either. This fixes the problem and adds a news item. This addresses #234
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that bitwise.ia() is not performing well on Windows as it seems to overflow the stack too early. This test in particular fails on both windows flavors:
poppr/tests/testthat/test-values.R
Lines 340 to 347 in 0ab416f
here's the error summary:
R CMD check output on winbuilder
The text was updated successfully, but these errors were encountered: