Skip to content

Conversation

@hagai-helman
Copy link

This change:

(Sorry for the duplicate of #5. I changed the branch name on my fork from master to main, so GitHub automatically marked my original pull request as "closed".)

This change:
- Fixes bugs that used to occur when `UnionFind` items were tuples;
- Asymptotically speeds up the `UnionFind.componenets` method;
- Makes the module self-contained.
- Fixed some RST syntax errors;
- Changed setup.cfg to look for README.rst instead of README.md;
- Removed RST `math` directives which are not supported by PyPI.
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.

Tuples don't work as keys components and component_mapping methods can be speed up by a factor of len(distinct_roots)

1 participant