Re: Exmh 2.7 Flist much slower?

Chris Garrigues <[email protected]>
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
> From:  Brent Welch <[email protected]>
> Date:  Thu, 30 Dec 2004 09:50:37 -0800
>
> I found some simple optimizations in mh.tcl MhReadSequences that improved
> my flist time from 18 seconds to under 1 second.  This change is checked
> into CVS.  The problem is that a single Tcl array, mhPriv, is used to
> store a copy of all your sequence state for all folders.  There were a
> few places that did
>   foreach element of mhPriv
>     if this is what I want, unset the value
> This is way expensive compared to using
>   array unset arrayName indexPattern
> which can be used to clear a "slice" of an array efficiently.  I have
> 100s of folders with 1000's of unread (never to be read?) messages, so
> it really made a difference for my setup.
> 
> I'd appreciate some feedback from folks that use the CVS head for
> their installation.  It seems about time to push out another release
> anyway, and if there is something broken I'd rather find out before
> that.

In honor of your having optimized my code, I thought I'd get with the latest 
CVS.  It looks good.  I just happened to notice that in revision 1.44 (you 
were cleaning up my code that day too) you removed an array unset since we weren't 
requiring 8.3 yet.

Chris

-- 
Chris Garrigues                         Trinsic Solutions
President                               1611-B West 6th Street
                                        Austin, TX  78703-5074

512-322-0180                            http://www.trinsics.com

                 Would you rather proactively pay for
                uptime or reactively pay for downtime?

                          Trinsic Solutions
                 Your Proactive IT Management Partner

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc (application/pgp-signature, 235 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh version 2.2_20000822 06/23/2000

iD8DBQFB2vXaK9b4h5R0IUIRAsKXAJ9kTGcVNxaL/2/YhcQlRrxCuTRkHwCfUGhu
v/OF4mBj+jY5tfvhdQdfUz8=
=5TtW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.