-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[balance-forecast] refactor to avoid xaccAccountGetBalanceAsOfDate
previous will call gnc:account-get-comm-balance-at-date which calls xaccAccountGetBalanceAsOfDate for every account at every date point. The xaccAccountGetBalanceAsOfDate is an expensive function because it scans the account's whole splitlist from the start every time. use gnc:account-get-balances-at-dates instead which scans an account only once to generate a balancelist. this should be a much faster chart.
- Loading branch information
1 parent
1ade6fe
commit 6e76cb3
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters