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

Remove support for calling graph directly #270

Merged

Conversation

jakobj
Copy link
Member

@jakobj jakobj commented Jan 5, 2021

There does not seem to be any need for calling the graph object directly. As soon as more than a single call is required, the to_... versions are much faster as they only require traversing the cartesian graph once.

This PR hence removes support for this functionality to i) prevent users from accidentally making their code slow and ii) relieve us of the burden of maintaining it.

@jakobj jakobj added the maintenance Fighting the second law label Jan 5, 2021
@jakobj jakobj added this to the 0.3.0 milestone Jan 5, 2021
@jakobj jakobj requested a review from mschmidt87 January 5, 2021 15:50
@coveralls
Copy link
Collaborator

Coverage Status

Coverage decreased (-0.3%) to 93.659% when pulling 647d32d on jakobj:maint/remove-graph-call into 20ee3cb on Happy-Algorithms-League:master.

Copy link
Member

@mschmidt87 mschmidt87 left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Removing code is always appreciated.

@jakobj jakobj merged commit 5777f45 into Happy-Algorithms-League:master Jan 6, 2021
@jakobj jakobj deleted the maint/remove-graph-call branch January 6, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Fighting the second law
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants