Re: Optimization ???

2014-02-21 Thread Mattdef
more expensive. On 2/21/14, John Colvin wrote: On Friday, 21 February 2014 at 09:29:42 UTC, Mattdef wrote: Thanks for yours replies. I know it is the conversion of uint that is the problem but my C# code has the same conversion. So C# is better than D for string conversions ? (sorry f

Re: Optimization ???

2014-02-21 Thread Mattdef
Thanks for yours replies. I know it is the conversion of uint that is the problem but my C# code has the same conversion. So C# is better than D for string conversions ? (sorry for my english)

Optimization ???

2014-02-20 Thread Mattdef
Hi Why this code is 2 times longer in D then C# ? module hello; import std.stdio; import std.datetime; import std.string; import std.conv; int main(string[] argv) { writeln("Tape \"Y\" to launch benchmark or any other touch to exit program :"); string s = chomp(readln());