std.file.read implementation contest

Denis Koroskin 2korden at gmail.com
Tue Feb 17 15:08:23 PST 2009


On Tue, 17 Feb 2009 21:08:15 +0300, bearophile <bearophileHUGS at lycos.com> wrote:

> Regarding this really useful part of the std lib, I warmly suggest to  
> also benchmark the final code against a similar operation done in Perl  
> or Python2.x. Such tests very often show performance bugs/problems.
>
> Python code for the test is really simple:
>
> file("filename.txt).read()
>
> Bye,
> bearophile

How does it work with /dev/random etc?




More information about the Digitalmars-d mailing list