And also the time it took from one block of 50 to other block of 50 and it was the same time as the longer one.
Of course. How could it be otherwise?
If you draw 10 parallel lines of different lengths:
--------------- ------ ---------------- ---- - ----------- -------- ------ -------------- -----
Is there any way to make the overall width less than the longest line?
Same thing.
As an aside, but entirely relevant; running 50 tasks concurrently on 4 cpus will take longer than running those same 50 tasks; but only 4 at any given time.
In reply to Re^3: Fork vs pThreads
by BrowserUk
in thread Fork vs pThreads
by ThelmaJay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |