Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Make new set construction logic internal #51

Closed
wants to merge 3 commits into from

Conversation

bakkot
Copy link
Collaborator

@bakkot bakkot commented Jan 16, 2019

Fixes #50. Not necessarily proposing that you make this change (though not opposed to it), just wanted it written out.

You can see this rendered here.

The second commit includes the change to difference discussed here. In the first commit it does roughly the same thing as currently: i.e., iterate both sets and build up a set which contains things in the first set which are not in the second.

(The approach in the first commit corresponds roughly to "take everything in A, and remove from it everything in B", whereas the approach in the second commit corresponds roughly to "take everything in A which is not also in B".)

@bakkot bakkot mentioned this pull request Jan 16, 2019
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Comments resolved.

@bakkot
Copy link
Collaborator Author

bakkot commented Jan 16, 2019

Updated to match #53.

@bakkot
Copy link
Collaborator Author

bakkot commented Sep 16, 2022

Just gonna rewrite this from scratch.

@bakkot bakkot closed this Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid "delete" and "add"?
2 participants