Now we are forced to just use C++ iostream becuase
buffers are independent and using C library functions
like printf() or scanf() could yield to issues.
Speed up of about 1%.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
Eval::init();
TT.set_size(Options["Hash"]);
Eval::init();
TT.set_size(Options["Hash"]);
+ // Don't sync with C library I/O buffers, faster but now using printf()
+ // or scanf() could yield to issues because buffers are independent.
+ cout.sync_with_stdio(false);
+ cin.sync_with_stdio(false);
+
cout << engine_info() << endl;
if (argc == 1)
cout << engine_info() << endl;
if (argc == 1)