On 06/26/2010 11:19 AM, Robert Jacques wrote:
I agree. This is bug 2547: Array Ops should check length, at least when bounds checking is on (http://d.puremagic.com/issues/show_bug.cgi?id=2547)
I think they should always check array lengths. Checks should be elided only when there's gain from doing so; one check prior to one array operation will not impact performance for all arrays longer than a couple of elements.
Andrei
