std.compress

Diggory diggsey at googlemail.com
Mon Jun 3 22:41:57 PDT 2013


On Tuesday, 4 June 2013 at 03:44:05 UTC, Walter Bright wrote:
> https://github.com/WalterBright/phobos/blob/std_compress/std/compress.d
>
> I wrote this to add components to compress and expand ranges.
>
> Highlights:
>
> 1. doesn't do any memory allocation
> 2. can handle arbitrarily large sets of data
> 3. it's lazy
> 4. takes an InputRange, and outputs an InputRange
>
> Comments welcome.

Nice! What happens if R is not a ubyte range?


More information about the Digitalmars-d mailing list