-
Notifications
You must be signed in to change notification settings - Fork 628
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
rewrite graph struct to be 200 times faster #3882
Conversation
efaa44b
to
2888a01
Compare
2921ebd
to
4a2c741
Compare
7a63251
to
e704db0
Compare
0696882
to
b022a42
Compare
d504147
to
928af46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly nits, but total_active_edges
seems like it might affect correctness.
Also, 100X perf improvement is nice :D
Also, I am wondering, does it make sense to try petgraph here? Although I myself also actually prefer to code simple graph routines myself.
0029d8c
to
aa5b63f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. @mfornet can you also review?
It looks like it's possible to rewrite graph class to be 200 times faster. Do we really need to move computation to another thread?
It looks like it's possible to rewrite graph class to be 200 times faster. Do we really need to move computation to another thread?