Python single thread is slower than two thread in CPU bound

后端 未结 0 444
借酒劲吻你
借酒劲吻你 2020-11-21 04:27

I think a thread is faster than two threads in CPU bound.

So, I did an thread experiment.

I executed the CPU bound program 5 times in macOS Mojave Python 3.7.<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题