Matt Kettler wrote:
> Mark Martinec wrote:
>   
>>> However, in mine the difference when using a "stock" 3.2.3 is barely
>>> noticeable, going from 9 seconds to 8 seconds.
>>>
>>> Adding in a good handful of SARE rules (1365 extra rules, counting "score"
>>> lines) makes the difference quite significant.
>>>
>>> Without "use bytes" and the SARE rules:
>>> real    0m21.626s
>>> user    0m20.873s
>>> sys     0m0.264s
>>>
>>> With "use bytes" added to Message.pm, and the SARE rules:
>>> real    0m9.012s
>>> user    0m6.468s
>>> sys     0m0.240s
>>>     
>>>       
>> Do you have a UTF-8 -based locale in the environment?
>> (what does command 'locale' tell?)
>>
>> If so, turning it off (set to "C") is very desirable.
>>
>>   Mark
>>
>>   
>>     
> Good catch, mine is UTF-8.. Not sure about the original reporter.
>
>   
Actually, not such a good catch, even after changing it in i18n and
rebooting, I still get long scan times without use bytes.

# locale
LANG=en_US
LC_CTYPE="en_US"

Without use bytes:
real    0m22.611s
user    0m20.944s
sys     0m0.305s

With use bytes:
real    0m11.572s
user    0m6.626s
sys     0m0.262s


Reply via email to