Hi Derek, > Andrew Sackville-West <[EMAIL PROTECTED]> writes: > > > On Thu, Feb 07, 2008 at 04:37:35PM -0500, Derek Atkins wrote: > > > > ... > > > >> > >> Well, it's possible that GetBalanceAsOfDate goes forward in time > >> instead of backwards in time, which means that the more transactions > >> you have the longer it takes. > > > > might be a source of problems in income statement as well as I think > > we use the same code... mine's already getting too slow and the I only > > got the fix in my stable version. sheesh. > > > > A > > > > ps. doh, I see you already basically said that... > > Unfortunately, AFAICT, there's no way to get to the tail of a GList > short of walking it. Even though it's a doubly-linked list, there's > no "list tail". The ends are NULL. > > So.. We could probably solve this by keeping a tail pointer and > then we could search from the end instead of the front.
FWIW, I think that is what GQueues are made for. -- andi5 -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
