std.compress

Peter Alexander peter.alexander.au at gmail.com
Thu Jun 13 04:58:15 PDT 2013


On Thursday, 13 June 2013 at 11:36:16 UTC, Daniel Murphy wrote:
> Ok, how exactly is the data compressed in the following 
> snippet?  No
> scrolling up to the top of the module to see what's imported!
>
> newdata = data.compress();

If it's not obvious from the context, just be explicit.

newdata = std.compression.lz77.compress(data);

Don't force verbosity on everyone just in case someone wants it.


More information about the Digitalmars-d mailing list