dankogai / js-combinatorics

power set, combination, permutation and more in JavaScript
MIT License
742 stars 97 forks source link

Very slow permutationCombination with 10 element array #55

Closed giorgio79 closed 5 years ago

giorgio79 commented 5 years ago

https://runkit.com/giorgio79/5c17cba0317a9a0015756c65

Looks like permutationCombination for an array of 10 is very slow. Any ideas?

giorgio79 commented 5 years ago

Permutations for that array are up in the million, so I guess that is understandable. Closing issue.