Performance improvement for deranged
Performance improvement for deranged

deepcopy is both very inefficient and unnecessary for the deranged function.
Similarly, it is sufficient to create a generator for matches; a list is not
needed.

adammartinez271828/evolver