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

Vectorise some for loops for improved runtime. #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

murphp30
Copy link

Hi there, in response to Issue #4 I've made some small changes to a few functions that replace for loops with some numpy vectorisation. The speed up is ~20 times faster per iteration.
I'm fairly certain I haven't changed any outputs but don't have any "known data" to compare.
I'd love to hear your thoughts on it.
Thanks and all the best.

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.

None yet

1 participant