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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add x.ss.iter{keys,values,items} #201

Merged
merged 5 commits into from
Apr 11, 2022
Merged

Conversation

eriknw
Copy link
Member

@eriknw eriknw commented Apr 5, 2022

I've been sitting on this for a while, so I thought I'd push this up.
I still need to read the documentation more closely. Also,
SuiteSparse:GraphBLAS provides even more iteration functionality.

This should make x.ss.iso_value even faster, which can speed up PageRank 馃帀 . Speaking of, this changes the return type of x.ss.iso_value from Scalar to a Python scalar. Meh.

I've been sitting on this for a while, so I thought I'd push this up.
I still need to read the documentation more closely.  Also,
SuiteSparse:GraphBLAS provides even more iteration functionality.
@eriknw
Copy link
Member Author

eriknw commented Apr 11, 2022

Alright, I think this is finished and ready for review.

This doesn't expose row iterators and column iterators for matrices, but I'm not really sure what those would be good for. So, I think it's fine to punt for now.

@eriknw eriknw merged commit ee086c7 into python-graphblas:main Apr 11, 2022
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