4 Aug
2004
4 Aug
'04
3:38 a.m.
On Tue, 2004-08-03 at 08:03, bulia byak wrote:
Peter, since this is your code, do you have any objections to removing the checks?
I think I was the one who added those particular checks, actually.
My hope had been that we could eventually abandon the operator[] that took ints, and use soley NR::Dim2 version instead.
It turns out there was no clean way to use the Dim2 version in for loops though.
I am a little surprised that the check itself was not optimized out, however. In most cases the compiler should be able to know the value of i at compile time.
-mental