develooper Front page | perl.perl5.porters | Postings from August 2013

Re: [perl #119445] performance bug: perl Thread::Queue is 20x slowerthan Unix pipe

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
August 29, 2013 03:31
Subject:
Re: [perl #119445] performance bug: perl Thread::Queue is 20x slowerthan Unix pipe
Message ID:
20130829033056.GA8493@ibughas.pair.com
On Tue, Aug 27, 2013 at 05:15:09PM -0700, John Heidemann wrote:
> --- perlthrtut.pod-	2013-08-27 08:47:16.347167972 -0700
> +++ perlthrtut.pod	2013-08-27 08:53:26.159772710 -0700
> @@ -465,6 +465,13 @@
>  data inconsistency and race conditions. Note that Perl will protect its
>  internals from your race conditions, but it won't protect you from you.
>  
> +=head2 Thread Pitfalls: Performance
> +
> +Shared data is and locking expensive, slowing down access.

I think this sentence got a bit mixed up.

Ronald

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About