protocol for using InputRanges

Walter Bright newshound2 at digitalmars.com
Fri Mar 28 15:05:42 PDT 2014


On 3/28/2014 11:40 AM, Dmitry Olshansky wrote:
> Which uses C's BUFFERED I/O and it reads from it byte by byte via getc. Even
> though sys calls are amortized by C runtime, we have a function call per byte.
> No wonder it's SLOW.

How about a PR to fix it?



More information about the Digitalmars-d mailing list