Making Revolution faster with really big arrays

Alex Tweedly alex at tweedly.net
Wed Apr 13 09:59:40 EDT 2005


Dennis Brown wrote:

> Thanks Alex,
>
> This is quite an imaginative suggestion.  It would work great if I 
> just had two lists, but I have two arrays 10,000 lines with 2500 items 
> in each line.  It would be a lot more complex to combine them into a 
> single array (I need to pair the items together).  But it could be 
> done with a lot more shuffling.   

Dennis,

could you post the "dumb, too-slow" code to show what you need to do ?
The more specifically we can see the problem, the more "imaginative" 
solutions we might come up with.

I suspect some variant of Dick's suggestion (using split on all-but-one 
of the lists, and "for each"-ing over that remaining one) - perhaps 
repeated internally on the items of each line - will get you an adequate 
solution --- but we'll get there more quickly and certainly if we know 
more closely what we are trying to do.

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005



More information about the use-livecode mailing list