Re: Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-13 Thread Lagi Pittas via use-livecode
Hi All I feel my IQ goes up by at lest 10 points when I read some of Mark's detailed answers concerning Livecode internals - and the thought processes that go into them. Mark's and many others' answers are worth the price of admission to this list - thanks a lot Mark for such an erudite

Re: Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-13 Thread Ben Rubinstein via use-livecode
On 12/10/2017 18:16, Mark Waddingham via use-livecode wrote:    - element chunks are ordered for arrays which are sequences*, unordered for all other arrays * An array is a sequence if: it has only integer keys, and keys range from 1 up to the number of elements in the array.   e.g. If the

Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-12 18:38, Peter Reid via use-livecode wrote: I agree that the redundant indexing is an expensive approach, however I have found that this abnormal structure of a repeat for each loop can be a lot faster than the other loop forms in some circumstances. I can't find the reference that

Re: use-livecode Digest, Vol 169, Issue 18

2017-10-12 Thread Mark Wieder via use-livecode
On 10/12/2017 09:38 AM, Peter Reid via use-livecode wrote: I can't find the reference that first highlighted to me the lack of guaranteed sequence of chunks, but I've assumed this was a restriction for some time. It would be great if this is incorrect as I've got some heavyweight looping in

Re: use-livecode Digest, Vol 169, Issue 18

2017-10-12 Thread Peter Reid via use-livecode
I agree that the redundant indexing is an expensive approach, however I have found that this abnormal structure of a repeat for each loop can be a lot faster than the other loop forms in some circumstances. I can't find the reference that first highlighted to me the lack of guaranteed sequence