diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-25 01:47:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-25 01:47:55 -0400 |
commit | 6febfc3b4cd6b374479f34070da9a772f9ff5699 (patch) | |
tree | 941ff96e45bd412003be1dab05baf1f9404bf001 /binary.h | |
parent | c6860970f27ed1f0d9b9543da46ffffa5c20e8f6 (diff) | |
download | fork-ledger-6febfc3b4cd6b374479f34070da9a772f9ff5699.tar.gz fork-ledger-6febfc3b4cd6b374479f34070da9a772f9ff5699.tar.bz2 fork-ledger-6febfc3b4cd6b374479f34070da9a772f9ff5699.zip |
Bulk alloc bigints in the binary reader; this gains another 20%
Diffstat (limited to 'binary.h')
-rw-r--r-- | binary.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,7 +18,9 @@ class binary_parser_t : public parser_t const std::string * original_file = NULL); }; -extern std::deque<amount_t::bigint_t *> bigints; +extern amount_t::bigint_t * bigints; +extern amount_t::bigint_t * bigints_next; +extern unsigned int bigints_count; void write_binary_journal(std::ostream& out, journal_t * journal, |