[pmmail-list] time to clear trash - performance

Kenn Yuill pmmail-list@blueprintsoftwareworks.com
Tue, 16 Oct 2001 13:15:57 -0400 (EDT)


Of course, the reference to a time of 5 s./message is dependent upon
the total number of messages.  A small quantity of 150 messages is
removed from my Trash folder in about 2.5 seconds or around 16 to 18
ms/message.
I would surmise that the curve is somewhat exponential as the quantity
of messages to be removed exceeds 1000.

Ciao,
    Kenn

On Tue, 16 Oct 2001 17:18:31 +0100, Brian Morrison wrote:

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

 __________________________________________________________
  Always act as if life is a joyous journey.         
    Kenn Yuill    Warp 4.0/FP10    Java 1.18 
        PMMail/2 2.1 Demo.  Communicator 4.61 
            The Beautiful Ottawa Valley, Ontario, Canada 
 __________________________________________________________
               - A Thought for Today -
Don't let yesterday use up too much of today.
     - Will Rogers
 __________________________________________________________

- 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
---------------------------------------------------------------------