The stupid question is the question not asked | |
PerlMonks |
Re^3: shared scalar freed early (queue)by tye (Sage) |
on Feb 22, 2017 at 20:17 UTC ( [id://1182556]=note: print w/replies, xml ) | Need Help?? |
I tried making the threads persistent and read data from a queue, but that was MUCH slower. Sounds to me like you are doing something very strange. Creating a Perl "thread" is rather expensive. Much more expensive than pulling an item from a queue. Usually much, much more expensive. - tye
In Section
Seekers of Perl Wisdom
|
|