Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
写了一个 Python 下的并发库叫 aiochan,请大家多提意见
amadeoh
·
Sep 12, 2018
· 3265 views
This topic created in 2985 days ago, the information mentioned may be changed or developed.
https://github.com/zh217/aiochan
Python
aiochan
意见
库
2 replies
•
2018-09-12 13:21:59 +08:00
JhZ7z587cYROBgVQ
Sep 12, 2018
1
python 的 csp 是不是没法像 go 那样 M:N 地利用多核?我还没有仔细阅读大佬你的代码,看了一眼 import 似乎是 线程池+async 的组合
amadeoh
OP
Sep 12, 2018
2
@
jason0916
确实没法像 go 那样自由地使用多核,但是 parallel_pipe 和 parallel_pipe_unordered 两个方法是可以用 process pool 的,一般的问题把所有核跑满也没问题
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2101 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 03:33
·
PVG 11:33
·
LAX 19:33
·
JFK 22:33
♥ Do have faith in what you're doing.
❯