protocol for using InputRanges
Dmitry Olshansky
dmitry.olsh at gmail.com
Sat Mar 29 01:54:18 PDT 2014
29-Mar-2014 02:05, Walter Bright пишет:
> 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?
Sorry, I'm not inclined to do any work on hacking arbitrary C runtime
libraries. Too much work on reverse engineering and making sure it stays
in sync. We need new I/O package and hopefully Steven has something brewing.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list