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

Add fast backend short-circuit for len(edges) #42

Closed
j6k4m8 opened this issue Nov 23, 2022 · 1 comment
Closed

Add fast backend short-circuit for len(edges) #42

j6k4m8 opened this issue Nov 23, 2022 · 1 comment
Assignees
Labels
backend:SQLBackend enhancement New feature or request

Comments

@j6k4m8
Copy link
Member

j6k4m8 commented Nov 23, 2022

Right now it's very slow to get the count of edges for certain backends. Adding a query for this directly (rather than requiring enumeration of all edges) would make some functions (such as nx.density) MUCH faster.

@j6k4m8 j6k4m8 self-assigned this Nov 23, 2022
@j6k4m8 j6k4m8 added enhancement New feature or request backend:SQLBackend labels Nov 23, 2022
@j6k4m8 j6k4m8 closed this as completed Apr 17, 2024
@j6k4m8
Copy link
Member Author

j6k4m8 commented Apr 17, 2024

#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:SQLBackend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant