http://qs1969.pair.com?node_id=1182556


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