Beispiel #1
0
                private static bool Less(this edits x, long i, long j)
                {
                    if (x[i].start != x[j].start)
                    {
                        return(x[i].start < x[j].start);
                    }

                    return(x[i].end < x[j].end);
                }
Beispiel #2
0
 private static long Len(this edits x)
 {
     return(len(x));
 }
Beispiel #3
0
 private static void Swap(this edits x, long i, long j)
 {
     x[i] = x[j];
     x[j] = x[i];
 }
Beispiel #4
0
 public Buffer(slice <byte> old = default, edits q = default)
 {
     this.old = old;
     this.q   = q;
 }