> From: Isaac Deutsch <[email protected]> > Do you think the spent allocating could be critical? > What do you think would be a good way to deal with this? I think to avoid the > continuous allocation/deallocation, > it's necessary to keep the threads running instead of creating/joining them > for > each genmove. This would > allow them to only have to alloc/dealloc when the board size is changed.
If your threads persist from move to move, you will save not only the expense of allocating and deallocating a large memory pool, but also the cost of creating new processes. On the other hand, you will need a quick method of clearing old information from previous nodes. Terry McIntyre <[email protected]> -- Libertarians Do It With Consent! _______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
