#rayon #demonstration #find-map-any

app factorize_rayon

Rayon find_map_any() demonstration program

2 releases

new 0.1.1 Nov 15, 2024
0.1.0 Nov 10, 2024

#1 in #demonstration

Download history 52/week @ 2024-11-04 160/week @ 2024-11-11

212 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