Micro optimize SEE
authorMarco Costalba <mcostalba@gmail.com>
Mon, 4 May 2009 09:18:24 +0000 (11:18 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 4 May 2009 09:18:24 +0000 (11:18 +0200)
commit412d68fe4f3e32b3314141a861554e18940ff556
tree590cc011db889b0681981f48119b18c047aa2c89
parent9144e48eb63587bde7379c16ddb3defea4b0e409
Micro optimize SEE

Use pieces_of_type() instead of pieces_of_color_and_type()
in an hot loop and cut of almost 10% SEE execution time.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.cpp