Skip to content

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

Merged
chrispcampbell merged 5 commits into
developfrom
chris/62-code-gen-perf
Dec 24, 2020
Merged

perf: improve code gen performance by avoiding linear searches#63
chrispcampbell merged 5 commits into
developfrom
chris/62-code-gen-perf

Conversation

@chrispcampbell
Copy link
Copy Markdown
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