Array bound checks removal increasing importance

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 2 23:49:59 PDT 2014


On Saturday, 31 May 2014 at 10:56:06 UTC, bearophile wrote:
> Even adding logic to remove 20% of the bound checks in numeric 
> code is going to help D because I think more and more people 
> will not disable bound checks in D.

What speedup those 20% will give? 3%? Shouldn't optimization go a 
different route?

1. Get annoying performance problem.
2. Diagnose it.
3. Optimize the hot spot.

Do you have 1?


More information about the Digitalmars-d mailing list