Beta release 4.48.2-2

Julian Field MailScanner at ecs.soton.ac.uk
Wed Nov 23 18:02:31 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Michele Neylon :: Blacknight Solutions wrote:

>Alex Neuman van der Hans <> said on 23 November 2005 16:44:
>
>  
>
>>What does "Speed improvement changing &POSIX::WNOHANG to WNOHANG in
>>sub Explode" for non-programmers? 
>>
>>    
>>
>
>I'd be happy with a "what does that mean for thus of us who don't speak
>fluent Perl?"?
>  
>
Very little, apparently :-)

Someone has made a significant speed improvement on 1 architecture by 
replacing the parameter to the waitpid() called &POSIX::WNOHANG with 
WNOHANG. This is all in the subroutine called Explode which opens up 
email attachments and turns them into normal files that can be scanned 
for viruses and so on.

So I have made the same change (in 2 places in the same subroutine) in 
the main code and released it as a new minor version to see if others 
see a similar speed improvement.

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list