Probdist: Keep row sums for faster picking
commit35ed2691d3091f4c4deb285b3dde7e5509b6bde7
authorPetr Baudis <pasky@ucw.cz>
Mon, 28 Jun 2010 14:02:15 +0000 (28 16:02 +0200)
committerPetr Baudis <pasky@ucw.cz>
Mon, 28 Jun 2010 14:02:15 +0000 (28 16:02 +0200)
treec86c10ea59c867839a84e6faeb4dc2a20f4a9a71
parent5e7df2def029104e4032e1118d58985391f5e083
Probdist: Keep row sums for faster picking

Unfortunately, pick() is much faster but set() is much slower because of
the division, leading to net ~10% slowdown; will fix up soon.
board.c
playout/elo.c
probdist.c
probdist.h