gnucash stable: [Transaction.cpp] use g_list_sort to partition splits

Christopher Lam clam at code.gnucash.org
Sun Sep 6 11:53:34 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/00cc11fb (commit)
	from  https://github.com/Gnucash/gnucash/commit/17f1d581 (commit)



commit 00cc11fb052663bcd97a14de7bea11ef7052d3df
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 6 23:32:41 2026 +0800

    [Transaction.cpp] use g_list_sort to partition splits
    
    because g_list_sort is a stable sort, and can partition trans->splits
    into neg < !neg efficiently



Summary of changes:
 libgnucash/engine/Transaction.cpp | 34 ++++++++++------------------------
 1 file changed, 10 insertions(+), 24 deletions(-)



More information about the gnucash-patches mailing list