gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Tue Oct 16 12:31:24 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/9f5c60de (commit)
via https://github.com/Gnucash/gnucash/commit/f2144676 (commit)
via https://github.com/Gnucash/gnucash/commit/0c02db72 (commit)
via https://github.com/Gnucash/gnucash/commit/4d22890d (commit)
from https://github.com/Gnucash/gnucash/commit/1244ebb3 (commit)
commit 9f5c60deaaa6258cef0b75b3bf23c0649a3b577a
Merge: 1244ebb f214467
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Oct 16 09:26:31 2018 -0700
Merge Christ Lam's 'maint-commodity-utils-cache-splits' into maint.
commit f214467670d01142354faa0bfdb6457cecc82b23
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 15 07:25:36 2018 +0800
[commodity-utilities] create internal fn to bypass expensive call
This commit creates an internal
function (gnc:get-commodity-totalavg-prices-internal) which bypasses
a call to (gnc:get-match-commodity-splits-sorted) which creates a
query for the price-commodity.
commit 0c02db729e2e020f9f3b822bb7e88843e1e0085d
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Wed Oct 10 15:30:49 2018 +0800
[commodity-utilities] compact functions
and convert (gnc-numeric-*) to scheme number functions
commit 4d22890d16a097b99877cc730e36af381bbe083d
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Oct 9 11:40:48 2018 +0800
[commodity-utilities] optimize weighted-average price calculator
(get-commoditylist-totalavg-prices) will generate a whole-book
splitlist. This is then filtered to 'interesting' splits only, and
sorted by posted date.
This sorted, filtered list is then filtered to each commodity, and
passed down as argument to (gnc:get-commodity-totalavg-prices) to be
used immediately, rather than calling the expensive function
(gnc:get-match-commodity-splits-sorted) which eventually creates a
query for each commodity.
Summary of changes:
.../report/report-system/commodity-utilities.scm | 197 ++++++++++-----------
1 file changed, 89 insertions(+), 108 deletions(-)
More information about the gnucash-patches
mailing list