On Thursday, 5 June 2014 at 09:36:53 UTC, bearophile wrote:
deadalnix:

I think we should focus on solving problems that modern backend aren't capable to optimize.<

I agree. But those D snippets I have written are not able to show what the backends are or aren't able to do. Generally if you compile D code even with LDC2 you see a significant performance difference in heavy-array processing code if you compile it with or without -noboundscheck. I have seen this plenty of times. If you want we can take a look at some benchnmarks.


I know and this is worthwhile to add some effort to optimize
that. I was simply reminding that we should try to understand in
which case the code is not optimized and why, before jumping to
solutions.

Reply via email to