std.compress

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jun 4 05:26:04 PDT 2013


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


More information about the Digitalmars-d mailing list