It’s a simple as a hash match in if let Some(v) = a_h.get(&h)
without any exact match in
for &(v, old) in v.iter() {
if old == &b[j..i] {
In my case there’s only a single old
checked
Just create a new chunk. Not extensively tested
Good catch, thanks!
I’ve added a little logging which shows that diff::bin::make_new_chunks can get stuck.
Will try and debug further