in reply to Re^2: shared scalar freed early
in thread shared scalar freed early
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