Speed
Richard Gaskin
ambassador at fourthworld.com
Sat Aug 23 13:13:27 EDT 2014
Beat Cornaz wrote:
> I have some hundred fitness functions, which need to be recalculated
> many times. But I think the problem of making Permutations might be
> illuminating for me, as this one takes quite long to run (with 10 or
> more elements to Permutate).
>
> So a good example would be how to make all possible permutations of
> say 10 different elements (0-9). This gives 3628800 different
> permutations.
How will these permutations be used?
More specifically, unless they all need to be acted on at once, would it
be useful to consider a function that only generates one or a series as
needed, keeping track of where it left off so it can generate the next
batch next time it's called?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list