parallel-factorial

Crates.ioparallel-factorial
lib.rsparallel-factorial
version0.2.1
sourcesrc
created_at2021-11-20 17:49:51.693956
updated_at2021-11-23 18:53:00.512617
descriptionSimple, fast, parallel factorial calculator.
homepage
repositoryhttps://github.com/doggodoge/parallel-factorial
max_upload_size
id485010
size22,193
Gary Moore (doggodoge)

documentation

README

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 🙂

Commit count: 29

cargo fmt