Working on a library: request for code review

Rene Zwanenburg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 18 06:52:20 PDT 2014


On Monday, 16 June 2014 at 23:04:33 UTC, Rene Zwanenburg wrote:
> The writeCompressed function can probably be simplified using 
> std.algorithm but it's not straightforward. I'll need to ponder 
> it for a while.

Here's a version using std.algorithm and std.range. I think it's
easier to understand than the original:

http://dpaste.dzfl.pl/88ba2592ac8d


More information about the Digitalmars-d-learn mailing list