Skip to content

Conversation

@jvillard
Copy link
Member

It wouldn't let me commit so I thought I'd have some fun with github and savagely forked your repo.

Jules Villard added 4 commits October 25, 2011 22:22
applyConcurrentDiff crashes when accessing changeLog[df.uid].length
otherwise.
namely makeDiff, makeDel, and makeInsert
The previous algo could fail as i + j could be > oldStr.length. This
results in a negative delete (urgh). For instance:

oldStr = "aaa"
newStr = "aabaaa"

gives i = 2 and j = 3.
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

Successfully merging this pull request may close these issues.

1 participant