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

perf: improve code gen performance by avoiding linear searches #63

Merged
merged 5 commits into from
Dec 24, 2020

Conversation

chrispcampbell
Copy link
Contributor

More details in the issue comments (#62).

In summary, running sde generate --genc for the En-ROADS model used to take 2 minutes 2 seconds on my laptop, and with these changes, it now takes under 5 seconds.

Fixes #62

@chrispcampbell chrispcampbell merged commit d4bf555 into develop Dec 24, 2020
@chrispcampbell chrispcampbell deleted the chris/62-code-gen-perf branch December 24, 2020 19:59
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

Successfully merging this pull request may close these issues.

Code generation is slow
1 participant