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

chore: Remove DenseSet::AddOrFindDense and AddSds #3864

Merged
merged 1 commit into from
Oct 4, 2024
Merged

chore: Remove DenseSet::AddOrFindDense and AddSds #3864

merged 1 commit into from
Oct 4, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Oct 4, 2024

Clean up interface a bit. AddOrFindDense does not make much sense as a single function because it does not provide any performance benefits - we still must perform a lookup before inserting. AddSds should have been removed a long time ago.

@romange romange requested a review from kostasrim October 4, 2024 10:04
@romange romange force-pushed the Pr3 branch 3 times, most recently from c6df61e to 44afc43 Compare October 4, 2024 10:14
Clean up interface a bit. AddOrFindDense does not make much sense as a single function
because it does not provide any performance benefits - we still must perform a lookup
before inserting. AddSds should have been removed a long time ago.

Signed-off-by: Roman Gershman <[email protected]>
Copy link
Contributor

@kostasrim kostasrim left a comment

Choose a reason for hiding this comment

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

LGTM

@romange romange merged commit a86fcf8 into main Oct 4, 2024
12 checks passed
@romange romange deleted the Pr3 branch October 4, 2024 14:14
kostasrim pushed a commit that referenced this pull request Oct 7, 2024
Clean up interface a bit. AddOrFindDense does not make much sense as a single function
because it does not provide any performance benefits - we still must perform a lookup
before inserting. AddSds should have been removed a long time ago.

Signed-off-by: Roman Gershman <[email protected]>
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.

2 participants