gnucash stable: Speed up during import when discarding transactions already imported
Christopher Lam
clam at code.gnucash.org
Mon Jul 24 21:15:49 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/833ed5ae (commit)
from https://github.com/Gnucash/gnucash/commit/52b7bdc7 (commit)
commit 833ed5ae1fbc64de0881343a688f03ad6d3f29ef
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Jul 25 08:36:28 2023 +0800
Speed up during import when discarding transactions already imported
If a transaction online_id already exists, the code will destroy the
transaction. Defer all destruction until all transactions processed,
and efficiently destroy them within an xaccAccountBegin/CommitEdit block.
Summary of changes:
gnucash/import-export/aqb/gnc-ab-utils.c | 1 +
.../csv-imp/assistant-csv-trans-import.cpp | 2 ++
gnucash/import-export/import-main-matcher.cpp | 31 ++++++++++++++++++++--
gnucash/import-export/import-main-matcher.h | 13 +++++++++
gnucash/import-export/ofx/gnc-ofx-import.cpp | 1 +
5 files changed, 46 insertions(+), 2 deletions(-)
More information about the gnucash-patches
mailing list