Re:Clio: A functional, distributed programming language that...
by cepher on Thursday March 18, 2021 @01:00PM
(#26504790)
I know that a parallel prefix algorithm [1] can be used to calculate fib(n), since we can use repeated matrix multiplications (a formulation appropriate for a prefix sum algorithm). The computation time can be O(n/p + log p), where p is the number of processors. However, I’m not sure what other approaches there are.
[1] https://en.m.wikipedia.org/wiki/Prefix_sum