hledger/hledger-lib/Hledger/Data
Dmitry Astapov 6f92e70575 lib: remove needless numeric comparisons in bal/bs
accountsFromPostings is currently doing excessive work when adding up
postings in each account. It sorts (accountName, amount) tuples which
cause amounts in them to be compared. There is no need to look at amount
here at all since subsequent summing up and counting does not depend on
order. It is enough to sort by accountname only.

Went through similar pieces of code, made them all look uniform.
2017-11-29 07:08:18 -08:00
..
Account.hs lib: remove needless numeric comparisons in bal/bs 2017-11-29 07:08:18 -08:00
AccountName.hs Escape account names (#499) 2017-01-30 09:17:18 -08:00
Amount.hs Add Support for Rewriting Multipler Postings Into Different Commodities (#557) 2017-05-30 07:30:15 -07:00
AutoTransaction.hs lib: fix backtracking in periodexpr parser 2017-11-27 06:38:47 -08:00
Commodity.hs Add Support for Rewriting Multipler Postings Into Different Commodities (#557) 2017-05-30 07:30:15 -07:00
Dates.hs lib: fix backtracking in periodexpr parser 2017-11-27 06:38:47 -08:00
Journal.hs lib: remove needless numeric comparisons in bal/bs 2017-11-29 07:08:18 -08:00
Ledger.hs lib: Added a new transaction to samplejournal. 2017-07-15 08:02:03 +01:00
MarketPrice.hs Added a simple 'showMarketPrice' function to show market price directives in a journal-compatible way (#505) 2017-02-03 18:20:00 -08:00
Period.hs ui: --watch: track date only when a standard period is in effect 2016-12-07 15:19:36 -08:00
Posting.hs lib: pivot -> journalPivot, drop implicit tags notion (#598, #608) 2017-09-05 10:48:35 -07:00
RawOptions.hs lib: optserror -> usageError, consolidate with other error functions (#529) 2017-03-29 08:00:51 -07:00
StringFormat.hs cli: refactor: move commands to a subdirectory, reinstate test command 2017-09-12 10:04:36 -07:00
Timeclock.hs lib: textification: descriptions & codes 2016-05-24 19:00:58 -07:00
Transaction.hs Rewrite of BalanceAssertion type to track its source position. 2017-10-16 13:25:03 -07:00
Types.hs lib: fix backtracking in periodexpr parser 2017-11-27 06:38:47 -08:00