properties vs local variable

Terence Heaford t.heaford at btinternet.com
Mon Mar 10 10:41:05 EDT 2014


Hi Mark,

Thanks for your comments, will give it a try.

All the best

Terry

On 10 Mar 2014, at 14:10, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:

> Hi Terry,
> 
> Can you use arrays? They aren't necessarily faster, but in this case they might be. Although you have a repeat-for loop, you're still updating a counter to keep track of your second data list. Using arrays just might speed things up, because the engine won't need to count things from the beginning in every loop but can instead read the correct elements from both arrays directly. I suspect this solution will either be slower or just a little fast, but it could be worth a try.




More information about the use-livecode mailing list