aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2018-11-13 21:58:14 +0000
committerSimon Tatham <anakin@pobox.com>2018-11-13 21:58:14 +0000
commit47cec547e59ac8c5012f6091394dcb4304d64fc3 (patch)
tree3eecd1216dd8562ec4285fb8f137a0e9773c550f /PuzzleApplet.java
parentcdc0563123951822b2f5f514336f8890ee6df522 (diff)
downloadpuzzles-47cec547e59ac8c5012f6091394dcb4304d64fc3.zip
puzzles-47cec547e59ac8c5012f6091394dcb4304d64fc3.tar.gz
puzzles-47cec547e59ac8c5012f6091394dcb4304d64fc3.tar.bz2
puzzles-47cec547e59ac8c5012f6091394dcb4304d64fc3.tar.xz
Unruly, Group: reference-count the 'immutable' array.
I noticed this during the bool trawl: both of these games have an array of flags indicating which grid squares are immutable starting clues, and copy it in every call to dup_game, which is completely unnecessary because it doesn't change during play. So now each one lives in a reference-counted structure, as per my usual practice in similar cases elsewhere.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions