Revert thread_local stuff

Unfortunatly accessing thread local variable
is much slower than object data (see previous
patch log msg), so we have to revert to old code
to avoid speed regression.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-04-06 18:36:46 +01:00
parent b1f57e92ce
commit c2fc80e5d1
10 changed files with 42 additions and 40 deletions

View File

@@ -107,7 +107,7 @@ void benchmark(istringstream& is) {
for (size_t i = 0; i < fens.size(); i++)
{
Position pos(fens[i], false);
Position pos(fens[i], false, NULL);
cerr << "\nPosition: " << i + 1 << '/' << fens.size() << endl;