Skip to main content

Module compare

Module compare 

Expand description

Fast comparison of rope regions, principally for diffing.

Structs§

RopeScanner
Utility for efficiently comparing two ropes.

Functions§

ne_idx
Returns the lowest i for which one[i] != two[i], if one exists.
ne_idx_rev
Returns the lowest i such that one[one.len()-i] != two[two.len()-i], if one exists.