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

update: speed up func sparse_mutual_reachability 20+ times #257

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

codingafuture
Copy link

Warn: Need to change pure python code to pyx code.

@lmcinnes
Copy link
Collaborator

I presume this is a work in progress? I certainly look forward to the final results...

@codingafuture
Copy link
Author

I presume this is a work in progress? I certainly look forward to the final results...

Yes, I am very sure about that, i had tested it for several times.
I think the reason why old version is very slow is that, it runs huge loops to iterate the entries in sparse matrix.
old version:
image

my version:
image

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.

2 participants