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

Generic deduplication optimization #21

Closed
mitsuhiko opened this issue Feb 21, 2021 · 0 comments
Closed

Generic deduplication optimization #21

mitsuhiko opened this issue Feb 21, 2021 · 0 comments

Comments

@mitsuhiko
Copy link
Owner

It would be nice if the library could provide an optional optimization where it converts in a first step from the source items to de-duplicated items and run the the algorithm on that and then converts back to the original indexes afterwards.

Pseudocode:

let mut dedup = Dedupe::new(&mut d, &old, old_range, &new, new_range);
diff_slice(&dedup, &dedup.old_side(), dedup.old_range(), &dedup.new_side(), dedup.new_range());
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