Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How much slower is perl (the binary) with threads than without?

by sundialsvc4 (Abbot)
on May 10, 2012 at 21:03 UTC ( #969865=note: print w/ replies, xml ) Need Help??


in reply to How much slower is perl (the binary) with threads than without?

It’s the same reason why we have single-processor and multi-processor versions of, say, Linux kernels.   (And why those kernels also have tests for the presence of multiple cores, with instructions to halt every core but one.)   If you know that threading will never be used, mutual exclusion gates can be omitted from the core interpreter.   (And, AFAIK, any attempt to use threading will be detected and prevented.)   But would I bother to do it?   Probably not ...


Comment on Re: How much slower is perl (the binary) with threads than without?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969865]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-10-21 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls