[Pachi] Low-hanging fruit - hacking ideas

Matthew Woodcraft matthew at woodcraft.me.uk
Mon May 30 18:16:19 CEST 2011

Petr Baudis wrote:
>   * board_safe_to_play() calls in 3x3 pattern checks - we do this
> way too often, repeatedly for the same coordinates in the same situation
> and this shows very high on profiles. Fixing this might lead up to 10%
> speedup of Pachi playouts.

I had a quick look at this, but as far as I can see board_safe_to_play()
isn't called in the current code, because BOARD_TRAITS is disabled (on
master). Or is there another branch that's better to look at?


More information about the Pachi mailing list