in reply to Code Optimization

and the code I have written for it is very slow.

Doesn't look that way to me :)

Replies are listed 'Best First'.
Re^2: Code Optimization
by azheid (Sexton) on Sep 10, 2013 at 00:08 UTC

    Well for the test I set the permutations to 2, where I actually need millions of permutations.