On 6/4/13 4:00 AM, Walter Bright wrote:
On 6/3/2013 11:40 PM, Timothee Cour wrote:
D)
CircularBuffer belongs somewhere else; maybe std.range or std.container

I have mixed feelings about that. If you'll notice, std.compress doesn't
have any imports! I wanted to make at least one module that doesn't pull
in 100% of everything in Phobos (one of my pet peeves).

The downside of that is reinventing everything. I haven't looked at the code yet, but std.range has http://dlang.org/phobos/std_range.html#cycle which implements a circular buffer.

Andrei

Reply via email to