]> git.sesse.net Git - stockfish/commitdiff
Don't allocate MAX_THREADS hash tables if not necessary
authorMarco Costalba <mcostalba@gmail.com>
Sun, 24 Apr 2011 17:46:26 +0000 (18:46 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 24 Apr 2011 18:23:07 +0000 (19:23 +0100)
This prevent crashing on mobile devices with limited RAM,
currently with MAX_THREADS = 32 we would need 44MB that
could be too much for a poor cellphone.

No functional change.

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

No differences found