Read text file fast, how?

Johan Holmberg via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 27 11:10:38 PDT 2015


On Mon, Jul 27, 2015 at 11:03 AM, via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> Are you including program startup and exit in the timing? For comparison,
> can you include the timings of an empty do-nothing program in all the
> languages?
>

Yes, I measure the whole program. But these startup/exit times are really
small. Reading /dev/null takes 0.003s in both C++ and D, and 0.007s in
Perl. "Nothing" compared to the other times.

/johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150727/c0e7a36b/attachment.html>


More information about the Digitalmars-d mailing list