|
|
||
|
When you really need the speed, you should consider the use of an explicit counter inside the inner loop:
i = i + 1 aVeryVeryLongNameWrittenOnlyOnce[i] = new value
This is still faster than "a[#a+1]" (and avoids the original problem).
You know: whyDidIMadeThisVariableSoLong = whyDidIMadeThisVariableSoLong + 1 aVeryVeryLongNameWrittenOnlyOnce[whyDidIMadeThisVariableSoLong] = new value
Oh well... :-P
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --