he biggest performance issue is the Playfield constructor.
dont know if i can change this with adding something like preallocating 5000 (or so) boards, and
just override the existing old/unused playfields in the posmoves-List.
(like:
int i = getNextFreeSpace(posmoves);
posmoves[i].deepCopy(p);
posmoves[i].doAction(a);
instead of
Playfield pf = new Playfield(p);
pf.doAction(a);
)
he biggest performance issue is the Playfield constructor.
dont know if i can change this with adding something like preallocating 5000 (or so) boards, and
just override the existing old/unused playfields in the posmoves-List.
(like:
int i = getNextFreeSpace(posmoves);
posmoves[i].deepCopy(p);
posmoves[i].doAction(a);
instead of
Playfield pf = new Playfield(p);
pf.doAction(a);
)