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

Multi-processing or multi-threading #64

Open
lingzhang0319 opened this issue Jun 11, 2019 · 1 comment
Open

Multi-processing or multi-threading #64

lingzhang0319 opened this issue Jun 11, 2019 · 1 comment

Comments

@lingzhang0319
Copy link

Hi,

In the original paper, it mentions that it uses multi threads. But I see in your code, you are using multi-process. As far as I know, these two methods are actually different. Could you explain whether these two methods make a difference or which way is better?

Thanks!

@UesugiErii
Copy link

@lingzhang0319
Multi-processing is better.In Python,since there is a GIL(Global Interpreter Lock),multi threads cant use multi cpu cores,but multi-processing can.
As to original paper,I dont know why use multi threads , maybe since threads programing is easy.

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