From: Marco Costalba Date: Sun, 18 Mar 2012 10:10:12 +0000 (+0100) Subject: Rename occupied_squares() to pieces() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=fc3ea7365ad95ec1da05ac559e4e659cf8a7f0f9;hp=fc3ea7365ad95ec1da05ac559e4e659cf8a7f0f9 Rename occupied_squares() to pieces() 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 ---