src/Sequence.bend checks
raw source on the hub · import bend-edit-distance@0.2.2.0/src/Sequence.bend as Sequence
1 import
import Base
Definitions
def length_from source · line 6 · raw
@sequence:String -> @count:Nat -> Nat
Base.String.length builds one continuation per character on Bend 2.0.37's device stack (2048 words). An accumulator keeps this traversal flat, so supported 4096-byte inputs do not exhaust a lane before Myers starts.
def length source · line 13 · raw
@sequence:String -> Nat