>>>>> "Brandon" == Brandon S Allbery KF8NH <allb...@ece.cmu.edu> writes:

    >> The array has 12 elements.

    Brandon> How many times do you call it?  Perhaps the real
    Brandon> optimization you need is to memoize.

Very many times indeed. But it is a different array on most occasions
(I am not updating in place).

It represents one rank of the board on which the game is played. The
move generator produces a new board for each move.
-- 
Colin Adams
Preston Lancashire
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to