igorw/conway-php — pull request #3 by asm89 (2014-01-18 15:14:59+00:00)
Title: Return count of alive neighbours

Instead of collecting the neighbours, then the alive neighbours and then counting those. Just return the amount of alive neighbours (what seems to be what we actually want). Makes it 2x+ faster for me.