-
- Downloads
balance: Rewrite without abusing BQL queries
Cumulative balances are more efficiently obtained adding to account inventories while iterating one time through the ledger transactions. The only subtlety is that, because inventory objects are mutable, intermediate inventories need to be copied when are emitted or will be overwritten when subsequent transactions are added.
Loading
Please register or sign in to comment