Andrei Alexandrescu napisał: > > Also: could a (truely) circular buffer help & solve the above copy > > problem, concretely? > > Not if you want infinite lookahead, which I think is what any modern > buffering system should offer.
Truely circular, probably not, but a wrap-around slice (circular view of length at most underlying.length) does offer that and solves the copy problem with style. -- Tomek