On 03/12/2015 04:52 PM, Peter Levart wrote: > ...getFloat() is calling getFloat(int) which is a virtual method with 2 > implementations. I think it would be better to in-line the the call and > eliminate the need to execute checkIndex()...
Okay; I guess it is more symmetrical that way. I did have a look at the generated code and the redundant index check was eliminated, but you can't guarantee it always will be. Thanks Andrew.