gnucash maint: [balsheet-pnl] faster definition of balance lists

Christopher Lam clam at code.gnucash.org
Sun Apr 10 21:43:08 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/1420368b (commit)
	from  https://github.com/Gnucash/gnucash/commit/736d2231 (commit)



commit 1420368b5b3a8ce4fb8ec804473be811741da100
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Apr 11 09:36:52 2022 +0800

    [balsheet-pnl] faster definition of balance lists
    
    because the accounts and accounts-cols-data have direct 1-to-1
    mapping, it is not necessary to map accounts and retrieve from
    accounts-cols-data. mapping from accounts-cols-data produces
    identical results, avoiding O(N^2) access from accounts-cols-data.



Summary of changes:
 gnucash/report/reports/standard/balsheet-pnl.scm | 33 ++++++++++++------------
 1 file changed, 16 insertions(+), 17 deletions(-)



More information about the gnucash-patches mailing list