On Saturday, 20 May 2017 at 03:53:19 UTC, Nicholas Wilson wrote:
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.
No. It is exactly because it is single function for column and
row indexes.