3 ms·
A quadtree, where every node is first looked up in a hash table before simulating it. Eventually the hash table has enough entries to where most changes aren't
by Doxin 5y ago
A quadtree, where every node is first looked up in a hash table before simulating it. Eventually the hash table has enough entries to where most changes aren't even simulated but just looked up. It's a pretty plain CPU/memory tradeoff, but it works surprisingly well for game of life.
- tobyhinloopen 5y agohttps://en.m.wikipedia.org/wiki/Hashlife https://en.m.wikipedia.org/wiki/Hashlife Nice