[PATCH] sort when saving

Graham Leggett minfrin at sharp.fm
Sun May 3 03:32:38 EDT 2009


Jim Radford wrote:

> The attached patches sort the slots, lots, book accounts, bill terms,
> customers, employees, entries, invoices, jobs, orders, tax tables and
> vendors before saving them to the gnucash XML file.
> 
> This is an attempt to make saves more idempotent thereby facilitating
> the use of a revision control system on the gnucash XML files.
> 
> With these patches most of the needless and seemingly random churn is
> gone.  I can now for example add or remove a transaction and expect
> there to be no other changes to the gnucash file.
> 
> I'm curious to see if these patches affect save performance noticeably
> for anyone.  They don't for me, but I don't have a very large file.

Definitely +1 for this, will make my life considerably easier.

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20090503/e039e73c/attachment.bin>


More information about the gnucash-devel mailing list