[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] Using floating point sounds very strange to me



Mark Boon wrote:
> Personally I don't see any reason to use floating-point calculations in a
> Go program.

I believe the main reason of using floating points in move valuation in
GNU Go is the readability.  It's natural to value a move to 1.5 points
instead of say 0x18000.  Since this is no way a time-critical piece of
code, readability is one of the most important aspects here.

> I bet the floating-point calulations in GNU Go comprise only a small
> percentage of its total time, so it seems futile to quible about the speed
> of such calculations.

Absolutely.

> But it doesn't mean we never pay attention to performance. We do.

Yes.  Versions of GNU Go play slower and slower, but only a little.  Current
GNU Go would play much slower than it does if we didn't do all the speed
optimizations.

Paul

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