file and "file -i"

Steve Freegard steve.freegard at fsl.com
Mon Jan 7 12:45:19 UTC 2008


UxBoD wrote:
> Hmmm, using a perl module would be a good idea Steve.  I wonder what the performance differential would be ?
>   
Depends - 'file' has to load the magic file every time it is called, 
whereas the Perl module can load this into memory, but it depends on how 
efficient the Perl code is.  Impossible to tell without a benchmark 
comparing them.

Cheers,
Steve.



More information about the MailScanner-Beta mailing list