-
Notifications
You must be signed in to change notification settings - Fork 0
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
Diploid simulations taking too long #36
Comments
Long hanging fruit is to not call |
In the reproduction type, specifically, there is no need to even call |
…e unless within the correct age and sex category
…ed unless the potential individual is of the mating sex and of the correct age, working towards Issue #36 resolution
I've made some progress on this now with the above commits, but I'm going to leave this issue open just to keep it in mind. Even with the fixes, the diploid simulations are taking much more time, mainly to get the paternal genome integrated into the offspring; if there is a way to do this more quickly, then it would be good to find it! |
Diploid simulations are taking too long; there is no reason that I can see why they should be taking orders of magnitude longer than haploid simulations. I need to figure out why this is and fix it as best as possible. There's just no reason that I can tell why
add_sexual
,sire_genes
, orassign_sire
should be taking so long. The way that the traits are inserted, mutation occurs, or inbreeding coefficients are calculated also just shouldn't take that much time. Maybe callingis_in_range
so many times is the problem?The text was updated successfully, but these errors were encountered: