Don't synchronize stdio with iostreams, since it's unnecessary. This can give
us a free speed bonus.
This commit is contained in:
parent
ef0d32cd5d
commit
6ca843dd6e
1 changed files with 2 additions and 0 deletions
2
main.cc
2
main.cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue