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

Make brunel.py setup faster. #1854

Merged
merged 4 commits into from Mar 11, 2022

Conversation

thorstenhater
Copy link
Contributor

Small tweak, gets 10% setup time reduction for 500 cells. Will be more w/ larger networks.

Copy link
Contributor

@brenthuisman brenthuisman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too sure about including end in case idx is in range.

python/example/brunel.py Outdated Show resolved Hide resolved
python/example/brunel.py Outdated Show resolved Hide resolved
Before we used two clones of the same generator, which meant
that inh and exc connection sets were identical, which is wrong!
As a nice benefit, this speeds up init by 30%
@brenthuisman brenthuisman merged commit 5a766b1 into arbor-sim:master Mar 11, 2022
@thorstenhater thorstenhater deleted the py/faster-gen branch August 1, 2022 07:40
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

2 participants