How to use Combinatorics.jl for permutations

This will of course depend on what you are trying to do, but generally you’re not supposed to collect them - they are iterators, so you can loop over them without ever materialising the whole thing.