Ah OK,
Sorry. I've run the VI on my PC and have observed the same thing you have. I think I have an idea where the execution times are coming from.
As far as I know the compiler for LV is quite clever. By autoindexing the for loop, the appropriate array size is set BEFORE the loop is run to maximise execution time. If the output of the loop is not passed anywhere though, the array is simply not generated. Although the diagram shows the array being indexed, the compiler sees that this isn't actually going anywhere and so it doesn't bother allocating megabytes of data which won't be used anywhere.
Thus, with autoindexing enabled, the compiler skips the allocation, thus saving time. With autoindexing disabled, it doesn't seem to check if the array is being used further, and allocates the single array again and again and again.
If you DO wire the array out of the FOR loop, you'll see that the WITH indexing is again FAR slower than WITHOUT. As expected.
I haven't been able to get the VI to give me an empty array. I've generated the error message, but I don't see the empty array.
Hmmm.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)