Skip to content

Commit

Permalink
feat: import upstream package (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: aymanbagabas <[email protected]>
  • Loading branch information
github-actions[bot] and aymanbagabas authored Sep 24, 2023
1 parent 1493d59 commit 7ba4ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/UPSTREAM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
866a6b0ff32adf32534b859fc6499a7e95f09054
f9759353eed3270bf007753dd44fb217fbc6aca3
2 changes: 1 addition & 1 deletion lcs/old.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func DiffRunes(a, b []rune) []Diff { return diff(runesSeqs{a, b}) }

func diff(seqs sequences) []Diff {
// A limit on how deeply the LCS algorithm should search. The value is just a guess.
const maxDiffs = 30
const maxDiffs = 100
diff, _ := compute(seqs, twosided, maxDiffs/2)
return diff
}
Expand Down

0 comments on commit 7ba4ccc

Please sign in to comment.