From: Taylor R. Campbell Date: Sun, 11 Mar 2007 15:35:18 +0000 (+0000) Subject: Preload folder outlines before memoizing folder order. This improves X-Git-Tag: 20090517-FFI~714 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8bcf856a67528907e34377d05e26d0591211280b;p=mit-scheme.git Preload folder outlines before memoizing folder order. This improves the performance of sorting IMAIL folders dramatically. --- diff --git a/v7/src/imail/imail-core.scm b/v7/src/imail/imail-core.scm index 80020887f..c970b5a1e 100644 --- a/v7/src/imail/imail-core.scm +++ b/v7/src/imail/imail-core.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: imail-core.scm,v 1.160 2007/03/11 15:04:31 riastradh Exp $ +$Id: imail-core.scm,v 1.161 2007/03/11 15:35:18 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -780,6 +780,7 @@ USA. (loop))))))) (define (build-folder-order-tree order folder) + (preload-folder-outlines folder) ((imail-ui:message-wrapper "Sorting folder") (lambda () (let ((length (folder-length folder))