In your list of examples, you have this piece of code:
let old = Array("abcd")
let new = Array("adbc")
let changes = diff(old: old, new: new)
// Move "d" from index 3 to index 1
Is this indeed correct or was this before introducing the Heckel algorithm?
Haven't verified this, but doesn't Heckel produce all three moves in this case? I.e.:
// Move "d" from index 3 to index 1
// Move "b" from index 1 to index 2
// Move "c" from index 2 to index 3
In your list of examples, you have this piece of code:
Is this indeed correct or was this before introducing the Heckel algorithm?
Haven't verified this, but doesn't Heckel produce all three moves in this case? I.e.: