-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Support custom comparison with capture_diff_slices_by #27
Comments
Do you have a specific usecase in mind for this? |
I am currently using this to align two data series from different sources while they both describes the same underlying event stream, e1....en, which we don't have other ways to observe:
So I now use |
I need this feature too. I compare two slices with struct Foo {
uuid: Uuid,
others: Data,
} In particular algorithm I compare slices only by |
I should first say, thank you for the crate, this is very useful for even comparing binary data.
Similar to
capture_diff_slices
but user can supply aF: FnMut(&T, &T) -> Ordering
.This is more of a wishlist since I don't have a concrete design in mind. Please feel free to close if this is not possible or not on the roadmap.
The text was updated successfully, but these errors were encountered: