Re: Exmh 2.7 Flist much slower?
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Dec 2004 11:02:43 PST, John Beck said: > Brent> I found some simple optimizations in mh.tcl MhReadSequences that > Brent> improved my flist time from 18 seconds to under 1 second. > Yes, it seems faster, though it's not clear how much. It will be more > obvious (for me) only after I start up with a ton of unread mail, which > usually only happens after logging in after being away for a while. Weirdness indeed. I have 160 or so folders, 32 have unread mail in them. About 217K messages total, about 15K unread. flist's were taking 20-30 seconds sometimes for me. I did a cvs update, and flists were down to 7 seconds. The odd thing is that the *old* code (Oct 19 datestamp on mh.tcl) is now down to 7 seconds as well. > There does appear to be such a something, which would be the ftoc (i.e. scan) > cache: I have > > *ftextLines: 14 > > in my defaults file but the new version had it much bigger than that. By > playing with the number in Preferences, I observed a formula something like > 20 + (n / 2) > meaning that e.g. with n set to 14, there would actually be 27 lines in the > display, though the baseline of 20 may have been a little smaller, and there > were some oddities with n = 0 or 1. I did not fully understand the diffs to > exwin.tcl, but by backing out its changes (i.e., restoring the 2.7.0 version) > I got back the behavior I'm used to. I noticed that as well - I never *did* figure out if I did that when I added the code to support separate panes for the message display and flist, or if it was broken before that. It's tied into the whole resize-the-pane code - it looks like the ftextLines value doesn't *really* do much, because the flist pane gets built after and then there's all the 'pack' calls. _______________________________________________ Exmh-workers mailing list [email protected] https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc
(application/pgp-signature, 226 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFB1OmlcC3lWbTT17ARAoBrAJ9+Ep/66J8xUb4YWCHwrM+77Z6xMwCfeSBY 9t44I/ifrtpKOdZmS+/+5C8= =Ycbx -----END PGP SIGNATURE-----