[pmmail-list] time to clear trash - performance

Brian Morrison pmmail-list@blueprintsoftwareworks.com
Tue, 16 Oct 2001 17:18:31 +0100


On Tue, 16 Oct 2001 09:18:14 -0400 (EDT), Bruce Francis wrote:

>I was trying to figure that out myself -- I cannot figure out what it
>is doing fo _5_seconds_ per message .... ?    Huge amount of computer time...

It is probably removing an entry, sorting the .bag file by moving each
entry after the one removed up a line and then saving the .bag file,
then repeating the same cycle.

This could take a while, file operations tend to be slow if the disk is
involved, faster to do it all in memory!

-- 
Brian Morrison                                  bdm@fenrir.demon.co.uk
              do you know how far this has gone?
               just how damaged have I become?
                                      'Even Deeper' by Nine Inch Nails

- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first 
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------