KieranP / Game-Of-Life-Implementations

Conway's Game of Life implementation in various languages
MIT License
52 stars 8 forks source link

Swift performance fixes #6

Closed dionc closed 4 years ago

dionc commented 7 years ago

Use a 2D array instead of a dictionary for storage. Fixed array indexing by using half-open ranges. This improves the average tick from 0.0025 to 0.0013.