On Fri, 26 May 2006, Leonard den Ottolander wrote:

On Fri, 2006-05-26 at 15:46 +0300, Pavel Tsekov wrote:
The new mailfs script does indeed produce dates consisting of 3 fieds
however its major drawback seems to be that it is very slow. The old
script processes a mailbox of size ~7.5 Mb in just a few seconds while
the new one takes 2-3 minutes to complete!

I've moved the "now" stuff out of the functions to avoid reexecution of
that code. This should improve things quite a bit.

Yes. The new script has improved the processing time so that it is now comparable to the old script.

Original script:

real        1.5
user        1.2
sys         0.0

New script:

real        1.6
user        1.2
sys         0.0
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to