stdio performance in tango, stdlib, and perl
kris
foo at bar.com
Thu Mar 22 02:37:53 PDT 2007
Deewiant wrote:
> torhu wrote:
>
>>Unless a file is opened in binary mode, '\n' will be translated into
>>'\r\n' on Windows. And stdin, stdout, stderr is by default in ascii
>>(not binary) mode.
>
>
> But I don't think this is the case in Tango, so Cout(line)("\n") should also be
> changed for the benchmarks.
At the behest of andrei, Cin line-parsing now has an option to include
the incoming line-terminator. That makes the "\n" somewhat redundant?
More information about the Digitalmars-d
mailing list