orx-parallel 3.4.0

High performance, configurable and expressive parallel computation library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod map_while_ok_collect;
mod map_while_ok_collect_arbitrary;
mod map_while_ok_reduce;
mod using;
mod whilst;

pub fn fibonacci(n: u64) -> u64 {
    let mut a = 0;
    let mut b = 1;
    for _ in 0..n {
        let c = a + b;
        a = b;
        b = c;
    }
    a
}