>> then J. Landman Gay wrote ...
>> function deleteDups pList
>>     split pList by cr and numToChar(3)
>>     return keys(pList)
>> end deleteDups

Geoff Canyon wrote ...
>it looks like the split command takes not quite twice 
>as long as repeat for each ...
>
>function deleteDupes pList -- does _not_ retain sort order
>    repeat for each line L in pList
>      put 1 into temp[L]
>    end repeat
>    return the keys of temp
>end deleteDupes


Thanks Geoff. Actually, I am getting split as four times faster
than 'for each' (under v2.6.0 & 2.6.1)
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to