[m-dev.] diff: array.m: allow user to disable bounds checks
Fergus Henderson
fjh at cs.mu.oz.au
Sun Nov 2 23:51:29 AEDT 1997
Tyson Richard DOWD, you wrote:
> Fergus Henderson wrote:
> >
> > library/array.m:
> > Put code for array bounds checking inside
> > `#ifndef ML_OMIT_ARRAY_BOUNDS_CHECKS', so that the user
> > can disable array bounds checking.
>
> By any chance, do you know what the cost of the bounds checks were?
Well, it depends on your benchmark, of course -- but for the `diff'
benchmark, it was about 3%.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list