brmmm3/fastthreadpool

report

Opened this issue · 0 comments

Your ex_simple_sum.py example results:

0.005 1249975000
0.008 1249975000
0.106 0
0.104 1249975000
0.011 1249975000
0.830 2499950000

The third one output wrong answer

pool = fastthreadpool.Pool()
pool.map(worker, data)
pool.shutdown()
result = sum(pool.done)

And the 4th is not faster than the 5th ThreadPool.