question when writing to a file

bioinfornatics bioinfornatics at fedoraproject.org
Thu Mar 7 02:04:33 PST 2013


Dear,

little question when writing to a file 5 "hello" lines (by 
example)
I would like to know if they are a difference between:

writeln( "hello" ); x5

and:

string[] helloList = [ "hello","hello","hello","hello","hello"];
writeln( helloList.join( newline) );


I mean if one way is more efficient by speed?


More information about the Digitalmars-d-learn mailing list