Genetic Algorithms in Elixir: Chapter 1 sample implementation in Ruby finds a solution much faster

After going further in the book (the algorithms have more output) I verified that the ruby implementation takes more generations to find the solution, but it runs each generation faster.