stream == range ? [Sliding window]

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Sun May 31 10:54:23 PDT 2015


On 31-May-2015 20:50, Dmitry Olshansky wrote:
[snip]

> When window.length == 0 means that stream is exhausted.
> Processing moves window by calling skip and along extending it's size.

Should read ... by calling skip and  extending it's size as needed for 
lookahead.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list