Why is D significantly slower than C# in this instance?

Steven Schveighoffer schveiguy at gmail.com
Tue Apr 11 01:50:58 UTC 2023


On 4/10/23 9:49 PM, Steven Schveighoffer wrote:
> Lining up pseudocode so you can see:
> 

oof, forgot the formatting ticks:

```
D:  foreach(i; 0 .. len) foreach(j; 0 .. len)
C#: foreach(i; 0 .. len) foreach(j; i .. len)
```

-Steve


More information about the Digitalmars-d mailing list