Commit graph

32 commits

Author SHA1 Message Date
John Wiegley
3c50b2fb7a read all binary data in at one go; gains 33% 2004-08-26 15:35:14 -04:00
John Wiegley
942943323e don't placement new() amount_t in binary.cc when it isn't necessary 2004-08-26 14:31:50 -04:00
John Wiegley
ac000a67c4 fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
John Wiegley
2f8f640010 minor simplification 2004-08-25 02:15:30 -04:00
John Wiegley
5b402a26cb use back-patching to simplify binary file writing 2004-08-25 02:11:56 -04:00
John Wiegley
6febfc3b4c Bulk alloc bigints in the binary reader; this gains another 20% 2004-08-25 01:47:55 -04:00
John Wiegley
c6860970f2 removed all uses of std::vector; simplified some code 2004-08-24 20:01:51 -04:00
John Wiegley
d4e39c488d use a string pool in binary files; gains 7% read time 2004-08-24 19:22:51 -04:00
John Wiegley
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
b85a536be7 change to binary loading that increases speed by another 20% 2004-08-23 07:23:33 -04:00
John Wiegley
5619a1d5be a little more reorganizing, but only fractionally faster. diminishing returns! 2004-08-22 02:13:41 -04:00
John Wiegley
6d5333b896 use value_t instead of balance_pair_t; gains for 10% binary, 2% textual 2004-08-21 23:18:45 -04:00
John Wiegley
000bfe1cec only compute the cost when it differs from the amount 2004-08-21 15:55:03 -04:00
John Wiegley
47cb7891c8 changed RELEASE_LEVEL to DEBUG_LEVEL 2004-08-21 05:45:33 -04:00
John Wiegley
b030416982 fixes to how commodities are looked up using quotes.cc 2004-08-21 03:54:27 -04:00
John Wiegley
8eaa76d11c bumped binary file version number 2004-08-21 03:23:55 -04:00
John Wiegley
fb91d6f21e add copy-on-write semantics to amount.cc; cuts object creation by 5x 2004-08-21 03:23:17 -04:00
John Wiegley
a9b207205f several fixes 2004-08-19 22:03:23 -04:00
John Wiegley
aba3d3037a added support for parsing QIF files 2004-08-19 17:55:33 -04:00
John Wiegley
bbcb49fed2 fixes 2004-08-17 16:41:07 -04:00
John Wiegley
aeb2fd0d39 misc cleanup 2004-08-17 03:39:51 -04:00
John Wiegley
cd7d7e5b88 slight fixes 2004-08-17 01:50:38 -04:00
John Wiegley
3a44545540 more binary format changes 2004-08-16 22:18:07 -04:00
John Wiegley
b10ff955a3 cleaned up binary data writing, and file handling 2004-08-15 02:39:13 -04:00
John Wiegley
7a1d0d4614 new debug code; automated transactions now use value expression predicates 2004-08-10 17:54:47 -04:00
John Wiegley
6048ae7c05 fixed cache by clear transaction flags before writing 2004-08-05 23:51:20 -04:00
John Wiegley
7e87a0a0b1 added back sorting support 2004-08-05 19:12:23 -04:00
John Wiegley
1741c80fe4 rewrote the way registers are computed -- again 2004-08-04 03:12:26 -04:00
John Wiegley
f570e6644f brought back the "print" and "equity" reports; this time much better! 2004-07-31 07:42:34 -04:00
John Wiegley
94e76ae87e two major changes
Complete changed the way format strings are handled.  They are now
compiled first, which is far more efficient than what was being done
before.

Also, there is now a global ledger::commodity_t::commodities map,
which saves me from having to pass the current journal around to a
zillion different functions, for the sole purpose of making sure that
all commodity symbols that are parsed refer to the same commodity
object.
2004-07-30 21:57:02 -04:00
John Wiegley
a2f805ef73 Exit if parsing errors are encountered 2004-07-29 01:56:53 -04:00
John Wiegley
161d6f79bd initial rev of 2.0 2004-07-26 23:33:51 -04:00