Lee Dowling points out that duplicating the entire grid data
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 5 Feb 2009 19:25:44 +0000 (19:25 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 5 Feb 2009 19:25:44 +0000 (19:25 +0000)
commit1a0ebd408205f5e8b2bbcbc7af3b4dbfa112b55f
tree3db44e52681e1337d5c695014458f46dba2f9626
parent316908cace57b4b7c3980f0b86caf51d2c33d2f8
Lee Dowling points out that duplicating the entire grid data
structure in every game_state is terribly wasteful. Move all the
constant bits of it (i.e. everything except the per-square 'blue'
flag) into a ref-counted shared structure.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8444 cda61777-01e9-0310-a592-d414129be87e
cube.c