3 ms·
He's probably referencing this line: This is likely the cost of starting N=110885 different worker threads in Python. That's not actually accurate, but it's ju
by scott_s 15y ago
He's probably referencing this line: This is likely the cost of starting N=110885 different worker threads in Python.
That's not actually accurate, but it's just a terminology problem. When you say "thread," what people like me think of is the actual operating system kernel thread. In your Python code, you only have 4 of them at any given time. (I know this from "max_workers=4".) What I think you mean by it is "indivisible work unit I'm supplying to my threading library," and I think you have 110885 of them.
- dalke 15y agoAh, thanks! I've fixed the problematic text.