[phobos] Improvement of stream

Sean Kelly sean at invisibleduck.org
Mon Jul 5 09:56:34 PDT 2010


Sounds like an algorithm, not a range method. Seeking backwards with ranges seems weird though. Isn't one intrinsic property of ranges that they don't expand?

Sent from my iPhone

On Jul 5, 2010, at 9:44 AM, Ellery Newcomer <ellery-newcomer at utulsa.edu> wrote:

> On 07/05/2010 11:14 AM, Michel Fortin wrote:
>> Le 2010-07-05 à 1:37, Andrei Alexandrescu a écrit :
>> 
>>   
>>> - The Seekable idea is good, I was thinking of it for a while. It expresses a range that is not as cheap for random access as a random-access range, but also that makes random seeking possible. What kind of algorithms could use Seekable?
>>>     
>> Well, you might want to skip over certain parts of a stream.
>>   
> 
> like 'drop'
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list