Phobos file input (Was: Re: List of issues PVS-Studio statically analyzes for )

bearophile bearophileHUGS at lycos.com
Sun Jul 24 12:58:45 PDT 2011


Timon Gehr:

> Note that currently, unsafe cstdio functions are often faster than Phobos stdio
> functions by a factor large enough to force people to use the C functions for IO
> bound tasks.

Once I have had to use printf instead of writeln for speed.
More often I use printf instead of writeln when I want to read the asm, because writeln creates a much longer and more dirty asm output compared to printf.

Bye,
bearophile


More information about the Digitalmars-d mailing list