std.compress

Walter Bright newshound2 at digitalmars.com
Tue Jun 4 09:11:27 PDT 2013


On 6/4/2013 5:26 AM, Andrei Alexandrescu wrote:
> 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.

cycle only reads from a circular buffer. CircularBuffer can be filled as well as 
emptied at the same time (it has a put() method).



More information about the Digitalmars-d mailing list