MCPcopy Index your code
hub / github.com/expr-lang/expr / SetSeq1

Method SetSeq1

internal/difflib/difflib.go:129–136  ·  view source on GitHub ↗

Set the first sequence to be compared. The second sequence to be compared is not changed. SequenceMatcher computes and caches detailed information about the second sequence, so if you want to compare one sequence S against many sequences, use .SetSeq2(s) once and call .SetSeq1(x) repeatedly for eac

(a []string)

Source from the content-addressed store, hash-verified

127//
128// See also SetSeqs() and SetSeq2().
129func (m *SequenceMatcher) SetSeq1(a []string) {
130 if &a == &m.a {
131 return
132 }
133 m.a = a
134 m.matchingBlocks = nil
135 m.opCodes = nil
136}
137
138// Set the second sequence to be compared. The first sequence to be compared is
139// not changed.

Callers 1

SetSeqsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected