Adding a read primitive to ranges
    Freddy via Digitalmars-d 
    digitalmars-d at puremagic.com
       
    Mon May  4 12:23:07 PDT 2015
    
    
  
On Monday, 4 May 2015 at 15:16:25 UTC, Alex Parrill wrote:
>
> IT seems redundant to me. It's semantically no different than 
> iterating through the range normally with front/popFront. For 
> objects where reading large amounts of data is more efficient 
> than reading one-at-a-time, you can implement a byChunks 
> function like stdio.File.
The ploblem is that all the functions in std.range,std.algorithm 
and many other wrappers would ignore byChucks and produce much 
slower code.
    
    
More information about the Digitalmars-d
mailing list