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

CHG: underlying partition container from list ->vector #8

Closed
Craig44 opened this issue Sep 26, 2018 · 1 comment
Closed

CHG: underlying partition container from list ->vector #8

Craig44 opened this issue Sep 26, 2018 · 1 comment

Comments

@Craig44
Copy link
Owner

Craig44 commented Sep 26, 2018

have hit very poor performance recently, so that has forced me to check handling agents as vectors. Basically less memory mangement, we put a bool on an agent and check whether it is a valid agent and we can overwrite invalid agents. This will allow for fast random element lookup which is critical for mortality processes.

@Craig44
Copy link
Owner Author

Craig44 commented Sep 27, 2018

Have switched to vector based partition which has proved to be quicker than list for 3 area models and other models. So vector has become the master and the list implementation is a branch that will remain and by called on for high spatial resolution model. The merge made at commit 831a478

@Craig44 Craig44 closed this as completed Sep 27, 2018
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

1 participant