Don't synchronize stdio with iostreams, since it's unnecessary. This can give

us a free speed bonus.
This commit is contained in:
John Wiegley 2008-08-08 02:49:36 -04:00
parent ef0d32cd5d
commit 6ca843dd6e

View file

@ -447,6 +447,8 @@ int main(int argc, char * argv[], char * envp[])
std::auto_ptr<journal_t> journal;
try {
std::ios::sync_with_stdio(false);
#if DEBUG_LEVEL < BETA
ledger::do_cleanup = false;
#endif