(Factorial)
How do you compute factorial in parallel?
Well, folks propose to, you know, just split the range in half, and multiply the numbers in each half in a different thread.
( we can eliminate a lot of work )
Ok, we do eliminate half the multiplications.
How do you compute factorial in parallel?
Well, folks propose to, you know, just split the range in half, and multiply the numbers in each half in a different thread.
( we can eliminate a lot of work )
Ok, we do eliminate half the multiplications.