gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Oct 13 09:42:23 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/cca3be7c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/44486a72 (commit)
	from  https://github.com/Gnucash/gnucash/commit/f599925b (commit)



commit cca3be7c81582b1ad92156d81f8c00ec76daf19f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 11 09:29:34 2020 +0800

    [window-autoclear.c] don't use g_str_hash on a double
    
    use g_double_hash which is present since glib-2.22 now that minimum
    glib is 2.56

commit 44486a72a39c8cceda9e9232ae5bbad01075e346
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 11 07:35:01 2020 +0800

    [window-autoclear.c] prepend instead of append
    
    This knapsack algorithm is heavy on list manipulation. Speedup by
    avoiding O(N^2) g_list_append. The list ordering is not useful in
    knapsack, therefore there's no need to g_list_reverse.



Summary of changes:
 gnucash/gnome/window-autoclear.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)



More information about the gnucash-patches mailing list