Conway's game of life
Tobias Pankrath via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 1 13:45:41 PST 2015
1. I prefer
alias CellList = Cell[];
over
alias Cell[] CellList;
2. Do you really need to create a complete new CellList for every
single removal? If so, you'd know the size of the new list in
advance and can allocate it directly at the correct size.
I get the impression that you think Cell[] is a linked list but
it's an array slice.
More information about the Digitalmars-d-learn
mailing list