Read text file fast, how?

Tobias Müller via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 27 11:58:00 PDT 2015


Martin Nowak <code+news.digitalmars at dawg.eu> wrote:
> On 07/26/2015 09:04 PM, Jesse Phillips wrote:
>> 
>> It would be better to compare with LDC or GDC to match the same backend
>> as C++. That is a little harder since they don't have 2.068 yet.
> 
> Reading a file is IO and memcpy limited, has nothing to do with compiler
> optimizations. Clearly we must be doing some unnecessary copying or
> allocating.

Or too much syscalls because of non-optimal buffering?

Tobi


More information about the Digitalmars-d mailing list