3 unstable releases

0.2.1 Nov 23, 2021
0.2.0 Nov 21, 2021
0.1.0 Nov 20, 2021

#2445 in Algorithms

36 downloads per month

MIT license

7KB
72 lines

Parallel Factorial ⚙️

Calculates factorial numbers using rayon for parallel processing.

Example

Calculating 1000000! with a serial algorithm takes 44 seconds on an Apple M1.

1000000! using this parallel algorithm takes 2.15 seconds.

Purpose

Simple learning project to figure out how to use rayon for some number crunching. This is very unlikely to be useful to anyone but it's here regardless 🙂

Dependencies

~2MB
~43K SLoC