7yl4r / LifeGenes

:jeans: genetic inheritance + Conway's Game of Life.
12 stars 1 forks source link

simulation runs too slowly #4

Open 7yl4r opened 10 years ago

7yl4r commented 10 years ago

The run speed of computing cells with movement or even the cells with color is too slow. The source of the slowdown(s) must be found and optimized.

Some performance decrease compared to running vanilla GoL is expected, but on my machine this runs at something like 1 evolution per second, which is much too slow. I think there is much room for improvement in the methods of lifegenes_core.cell (for example), since I did not make effort to optimize the solutions on initial proof-of-concept.

7yl4r commented 10 years ago

Just a thought on this: while I do love the string-based DNA... doing it with integers is probably more efficient.