["PATCH"] Re: Mailfs date problem
Pavel Tsekov
ptsekov at gmx.net
Sat May 27 16:29:01 UTC 2006
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
More information about the mc-devel
mailing list