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

Optimize Deduplication for add_single_items Method #28

Open
ayush-vibrant opened this issue Oct 31, 2023 · 0 comments
Open

Optimize Deduplication for add_single_items Method #28

ayush-vibrant opened this issue Oct 31, 2023 · 0 comments

Comments

@ayush-vibrant
Copy link

When using the add_single_items method for bulk additions, there's potential for optimization.

  • Issue: Currently, items in a batch are treated in isolation, leading to potential redundant similarity checks when the batch itself contains similar items.

  • Suggestion: Before comparing items in the batch with the main list, check for and handle similarities within the batch itself. This can streamline the deduplication process and reduce computational overhead, especially for batches with duplicate or closely similar items.

By addressing this, we can enhance the efficiency of the deduplication process for bulk item additions.

PS: I've read the disclaimer in the README, but I believe the aforementioned optimization could be a minor enhancement that may yield significant improvements.

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

No branches or pull requests

1 participant