Board Thread:Questions and Answers/@comment-24739388-20140810005956

I wrote a port of Conway's Game of Life. Too bad it's so slow. Any ideas to optimize this here code?

Some notes first:

@GETN is called during @LIFE to get all of the neighbors of the current cell. I wish it was much better.

@CELL is the DATA for the grid's starting layout. It's defaulted to 2 gliders.

Program

Source code: http://pastebin.com/TnQF2952

PTC File: https://drive.google.com/file/d/0B_B8b4aNAxb1M1dTOVVsZG11WGs/edit?usp=sharing 