diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-08 02:49:36 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-08 02:49:36 -0400 |
commit | 6ca843dd6e3ca4c7bf39249dddd758b1a5d8a6d4 (patch) | |
tree | 0f86e0cf356cf35409f9b218ca84dcee4f9a92fc /main.cc | |
parent | ef0d32cd5d91966490694da97f36b023700d9787 (diff) | |
download | fork-ledger-6ca843dd6e3ca4c7bf39249dddd758b1a5d8a6d4.tar.gz fork-ledger-6ca843dd6e3ca4c7bf39249dddd758b1a5d8a6d4.tar.bz2 fork-ledger-6ca843dd6e3ca4c7bf39249dddd758b1a5d8a6d4.zip |
Don't synchronize stdio with iostreams, since it's unnecessary. This can give
us a free speed bonus.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |