TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python multiprocessing understanding logic behind `chunksize` – Stack Overflow

18 点作者 user32556大约 5 年前

1 comment

PaulHoule大约 5 年前
A fight I&#x27;ve had over and over again with folks is that I think chunking is more fundamental to &quot;using multiple cores to get work done faster&quot; than most of what people think is fundamental.<p>Even though it looks like an optimization, it&#x27;s something you have to address no matter what methods you use to control execution. This it makes sense to plan for chunking at the very start because it is absolutely predictable that you won&#x27;t get a real speedup unless your workload is already chunked.