Read text file fast, how?

sigod via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 25 16:21:31 PDT 2015


On Saturday, 25 July 2015 at 22:40:55 UTC, Brandon Ragland wrote:
> On Saturday, 25 July 2015 at 20:12:26 UTC, Andrei Alexandrescu 
> wrote:
>> On 7/25/15 1:53 PM, Johan Holmberg via Digitalmars-d wrote:
>>> Thanks, my question seems like a carbon copy of the Stack 
>>> Overflow
>>> article :) Somehow I had missed it when googling.
>>>
>>> I download a dmd 2.068 beta, and re-tried with my input file: 
>>> now the D
>>> program takes 1.6s (a 10x improvement).
>>
>> Great, though it still seems to be behind the C++ version, 
>> which is a bummer. -- Andrei
>
> Do you happen to have a link to that source where you fixed it.
>
> I feel like contributing some reading effort today.

https://github.com/D-Programming-Language/phobos/pull/3089


More information about the Digitalmars-d mailing list