CBFalconer said:
Richard Heathfield wrote:
>CBFalconer said:
If a[200000] in inaccessible the coding is simpler.
>Which is why everyone is so puzzled that you got it wrong.
>>
>Well, we all make mistakes - but when people point out your mistake,
>it's not wise to start firing off accusations at them, such as "you
>didn't think". It is true that someone wasn't thinking, but that someone
>isn't the someone you thought it was.
What's the error?
My code handles an array whose last member is indexed by 200000.
200000-element array, so there is no member in the array for which an
index of 200000 is legal.
The finalize stuff allows for the same max.
Yes, the code can be simpler, so what? The point was the O(n)
operation of the simple loop.
>
I have no objection to admitting errors. This is not one.
Yes, the code can be simpler, so what? The point was the O(n)
operation of the simple loop.
>
I have no objection to admitting errors. This is not one.
error of not recognising when one is in error.
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Leave a comment: