In the _evotrain.py file there is a function called _generate_newdna where a for loop is used instead of list comprehension. I wanted to inform you that list comprehension is MUCH slower and less readable than for loops. See here.
I really like this project and want to use your code, but the fact that you used a for loop is honestly despicable. Please fix it and I will use your code and star it.
In the _evotrain.py file there is a function called _generate_newdna where a for loop is used instead of list comprehension. I wanted to inform you that list comprehension is MUCH slower and less readable than for loops. See here.
I really like this project and want to use your code, but the fact that you used a for loop is honestly despicable. Please fix it and I will use your code and star it.