I was thinking about that.
But * % / are used only for printing. So it doesn't matter.

Thanks anyway.
Lukasz

On 12/16/06, Ken Friedenbach <[EMAIL PROTECTED]> wrote:
Hi Lukasz,

Thanks for the posting...

One possible space/time optimizatio, trading space for time.

I see you embed the 9x9 board into an 11x11 array,
and there are /, %, and * operations specified.

If you embed into a 16x11 array, these operations
should be optimized into shift-right, mask, and shift-left,
with just a few unused elements. (GNU does / and *.
I haven't checked if % 2^n => mask, or not.)

Best regards,

Ken

Depending on the processor, these can be faster


On Dec 16, 2006, at 3:09 AM, Łukasz Lew wrote:

> http://www.mimuw.edu.pl/~lew
>
> waiting for Your comments :)
>
> Lukasz Lew
> _______________________________________________
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to