mintyPT/Genetic-Algorithm — comment on commit 2b94a4e949a83ea529a1e394ab33e838e038d5a5
File:  line 0
By mintyPT:

it's the same. it's simply more readable that way.

Anyway, when using huge population, you should avoid while's at all costs since they slow your scripts down. I ended up changing the code a pulled to you. Will make a new pull request shortly.

I coded GA before for my professional life and had to remove most while's to make is efficient.