Timeline for Optimize Conway's Game of Life
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 25, 2014 at 10:22 | comment | added | Adam Arold |
The fact is that I can't name them inputBuffer, outputBuffer because their roles get swapped with each new generation. Others mentioned the try block's logic fault so I'll remove it. The comment there is a leftover, but thanks for pointing it out. This game of life will be used from multiple threads (in a web application) but the recalculateUniverseState() will only be called from one thread. There is an option in the code which is not shown for stamping game of life patterns onto the universe but I solved that problem with a concurrent queue. (code omitted).
|
|
Feb 25, 2014 at 1:49 | history | answered | palacsint | CC BY-SA 3.0 |