Split splits a segment's value at a key within its range, such that the first returned value corresponds to the range [r.Start, split) and the second returned value corresponds to the range [split, r.End). Preconditions: r.Start < split < r.End. Postconditions: The original value val is invalidate
(r Range, val Value, split Key)
| 94 | // |
| 95 | // Postconditions: The original value val is invalidated. |
| 96 | Split(r Range, val Value, split Key) (Value, Value) |
| 97 | } |
| 98 | |
| 99 | const ( |
no outgoing calls