r14358 - gnucash/trunk - When committing an account during the closing of a book, don't search
David Hampton
hampton at cvs.gnucash.org
Mon Jun 12 23:17:49 EDT 2006
Author: hampton
Date: 2006-06-12 23:17:48 -0400 (Mon, 12 Jun 2006)
New Revision: 14358
Trac: http://svn.gnucash.org/trac/changeset/14358
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/engine/Account.c
Log:
When committing an account during the closing of a book, don't search
the engine for splits that are in the process of being assigned to the
account but aren't yet linked into the account. This eliminates an
O(n*m) operation that will never find any work to perform. Fixes
#344473.
More information about the gnucash-patches
mailing list