Optimization ???

John Colvin john.loughran.colvin at gmail.com
Fri Feb 21 04:52:54 PST 2014


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 for my english)

It's quite possible that C# has faster string conversion in at 
least some cases.

In particular, making lots of small strings is very garbage heavy 
and the D garbage collector isn't as sophisticated as the one in 
C#


More information about the Digitalmars-d-learn mailing list