gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Mon May 13 00:58:42 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/7b46466e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e54e9d80 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b28ca9bd (commit)
	from  https://github.com/Gnucash/gnucash/commit/579da58a (commit)



commit 7b46466ebd8e8a74ec49610813b2c73f86e9aa3e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 13 12:42:26 2024 +0800

    [account.cpp] fix regression caused by 3f7a5a8267
    
    whereby deleting an account and moving all splits to another account
    would segfault. make a copy of priv->splits and work on the copy
    rather than the original.

commit e54e9d808677f4b8fb21a546cc5b1232c492cc48
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 12 23:58:44 2024 +0800

    [account.cpp] use HashTable for splits
    
    reduces xml loading time from 3.5s to 3.1s, i.e. 11% improvement

commit b28ca9bdb4781e9dfde0664bf9e1fd109ef9636e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 12 20:16:37 2024 +0800

    use c++ placement new
    
    to initialize non-c++ object members



Summary of changes:
 libgnucash/engine/Account.cpp    | 18 ++++++++++--------
 libgnucash/engine/AccountP.hpp   |  1 +
 libgnucash/engine/gnc-budget.cpp | 17 ++++++-----------
 3 files changed, 17 insertions(+), 19 deletions(-)



More information about the gnucash-patches mailing list