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?
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?