Subject: Expunge taking much longer on 4.40?

From: Matt Ackeret <[email-masked]>
Date: Mon, 24 Sep 2001 13:34:19 -0700 (PDT)

I probably have something set up incorrectly.. or didn't modify
something I needed to before compiling.

But I have both 4.33 and 4.40 running on Mac OS X.

pine 4.33's expunging is essentially instantaneous.

pine 4.40's expunging takes several seconds.

Under both I expunged a message at around ~1400 in out of around 2100 messages,
on an IMAP server.   Both tests were done with the same configuration,
right after each other (and I didn't have both copies of pine running at the
same time).

All I did today was download 4.40, change the OPTIMIZE in the pine osx makefile
to -O3, and compile..  (and I'm running the binaries in the build folder
until I install them).

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jeff Franklin <[email-masked]>
Date: Mon, 24 Sep 2001 14:08:03 -0700 (Pacific Daylight Time)

> pine 4.40's expunging takes several seconds.

Hmm... Off the top of my head, do you have filters set?  On expunge, pine
4.40 checks filters to see if any messages should get filtered.

Jeff

-- 
Jeff Franklin <[email-masked]>
Networks and Distributed Computing  University of Washington

---

From: Matt Ackeret <[email-masked]>
Date: Mon, 24 Sep 2001 17:05:18 -0700 (PDT)

>4.40 checks filters to see if any messages should get filtered.

This appears to be the problem.  I did have a filter rule (based upon AllText)
to move messages into a suspected_spam folder.

I was at a Cocoa class last week, so had more than 600 new messages today.

So in my particular case, I could just delete the unneeded rule.

I still think this is a disturbing slowdown however.  From effectively
instantaneous to around 7 seconds to expunge, with everything else the same.

My rule was only based upon NEW messages too.  Doesn't pine remember to see if
it has touched a particular message before?  or does it truly only use the
same new attribute that I see with the N?  I would hope it would only
run a rule ONCE upon each particular message.   (Or maybe that could be a
new category -- run only once upon arrival in the box)