Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.2 pool 代码 #1

Open
only-someone opened this issue Oct 23, 2021 · 1 comment
Open

8.2 pool 代码 #1

only-someone opened this issue Oct 23, 2021 · 1 comment

Comments

@only-someone
Copy link

8.2 pool 代码为什么使用pool时间更长说明pool能提高效率?

@mangohow
Copy link

mangohow commented Nov 9, 2021

同问。不使用Pool:3s 使用Pool:149s 可见Pool确实可以很好地提升程序执行效率。
哪里提升效率了?
我还以为书中印反了呢,我在本地运行了一下,发现没有印反。那为什么使用Pool耗费的时间更长,说明使用Pool的效率高呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants