Skip to content
#

changes

Here are 77 public repositories matching this topic...

znakeeye
znakeeye commented Sep 27, 2019

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 i

Improve this page

Add a description, image, and links to the changes topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the changes topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.