]> git.sesse.net Git - stockfish/commitdiff
Rename occupied_squares() to pieces()
authorMarco Costalba <mcostalba@gmail.com>
Sun, 18 Mar 2012 10:10:12 +0000 (11:10 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 18 Mar 2012 10:18:38 +0000 (11:18 +0100)
Also some microoptimizations, were there from ages
but hidden: the renaming suddendly made them visible!

This is a good example of how better naming lets you write
better code. Naming is really a kind of black art!

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found