Re: ["PATCH"] Re: Mailfs date problem



Hello Pavel,

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!

Interesting. Indeed I also observe an increase of the processing time
for the "light" version (not for the other 2 though, and %H vs. %h does
not make any difference). Not as dramatic as in your case though, "only"
a factor 3, but definitely worth investigating.

It also noticed the implementation using Date::Parse is about 3 times
faster than the implementation using Date::Manip. Can you confirm that
this is also the case on your system? In that case it probably makes
sense to move the Date::Parse implementation to the front.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]