[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [gnugo-devel] fastlib optimization
From: |
Paul Pogonyshev |
Subject: |
Re[2]: [gnugo-devel] fastlib optimization |
Date: |
Mon, 21 Oct 2002 23:55:01 +0300 |
Evan wrote:
> The following addition covers another case:
> ?O?
> OXO
> OXO
> .*.
> .O.
> ?.?
> It is on top of Paul's patch. I have not checked the speed improvement.
> It's probably fairly irrelevant, actually. But I coded it to see, so why
> not send it in...
> - || (neighbor_size == 2 && !ally1)) {
> + || (neighbor_size == 2 && !ally1)
> + || (neighbor_size == 2 && COUNTSTONES(ally1) == 1 &&
> + !neighbor_of_string(ally1, neighbor))) {
it will work incorrectly in this case:
......
..OO..
.OXXO.
..O*..
......
Paul