Tomek Sowiński napisał: > Contiguous, yes. But I'd rather see front() exposing, say, a circular buffer > so that appendToFront(n) > reallocates only when n > buf.length.
I meant: when n + front.length > buf.length. -- Tomek
Tomek Sowiński napisał: > Contiguous, yes. But I'd rather see front() exposing, say, a circular buffer > so that appendToFront(n) > reallocates only when n > buf.length.
I meant: when n + front.length > buf.length. -- Tomek