Instead of pushing a new thread to the list, allocating the number since we know it in advance.
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
Comment Actions
Looks okay to me, but maybe expand the comment to explain what's going on and what the patch is doing. "fuzzfork allocating expected number of jobs" sounds more like a bug report than a fix.
Comment Actions
But was there a bug before, or is this just an optimization? Maybe it could just be an array instead?
Comment Actions
Okay, in that case I would personally just make it an array. But maybe kcc has opinions on this, so let's wait to hear from him.