[4Walter&Andrei] D is 40 times slower. We need a new language feature!

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Fri May 19 20:53:19 PDT 2017


On Saturday, 20 May 2017 at 03:24:41 UTC, 9il wrote:
> Hello,
>
> When users write math code, they expect [2, 3, 4] that the code 
> like
>
> [...]

I assume you compiled with LDC and used pragma(inline, true). 
Have you had a chance to look at what 
`-fsave-optimization-record` gives you? (This was adde to LDC 
master 3 days ago.) That may give some insight as to why it was 
not vectorised, e.g. bounds checks not removed.

I dont think we need a new language feature for this.


More information about the Digitalmars-d mailing list