Array bound checks removal increasing importance
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 3 00:03:18 PDT 2014
On Monday, 2 June 2014 at 09:46:03 UTC, bearophile wrote:
> There are papers that show a 20-100% improvement in performance
> coming from disabling array bound checks in programs that use
> arrays a lot, like most scientific programs. And D language
> seems fit for some heavy numerical work.
Scientific programs usually process trusted data (or easily
validated), so they may need correctness checks, but don't need
security checks. If you see the algorithm works with bound
checks, you can turn them off.
More information about the Digitalmars-d
mailing list