#rayon #demonstration #find-map-any

app factorize_rayon

Rayon find_map_any() demonstration program

2 releases

0.1.1 Nov 15, 2024
0.1.0 Nov 10, 2024

#1 in #demonstration

Download history 100/week @ 2024-11-08 130/week @ 2024-11-15 6/week @ 2024-11-22 2/week @ 2024-12-06

140 downloads per month

CC0 license

8KB
126 lines

Rayon find_map_any() demonstration program

This small program shows how effective and simple Rust's Rayon crate find_map_any() can be used to utilize all CPU cores.

P.S.: The factorize_iterative() function of mine was an experiment to try out find_map_any() with something not immediately trivial, but is of course not meant for production use. Better and faster algorithms exist, also in crates.io.

Dependencies

~1.5MB
~25K SLoC