[Mono-devel-list] [Patch] RReader not to rely on bounds checking

Lluis Sanchez lluis at ximian.com
Mon Jan 31 09:28:43 EST 2005


On dl, 2005-01-31 at 08:02 -0500, Ben Maurer wrote:
> > The "using" fix looks OK to me, but I don't see what's wrong on relying
> > on array bound checking in this case.
> 
> It is hackish. It is not wrong (correctness wise), but is fugly.
> 
> It is also a bit slower, if the exception being thrown is a normal part of
> execution.

The exception is not a normal part of execution. For correct files it
will never be thrown.

> 
> -- Ben
> 
> 




More information about the Mono-devel-list mailing list