|0.1.0||Sep 3, 2021|
#1439 in Filesystem
boids crate is a reasonably fast implementation of the Boids algorithm. If you have speed improvements, please submit a pull request!
Parallel processing & speed
When compiled with the
rayon feature enabled, the library will use the
rayon crate to parallelize the computation. This may or may not be something you want to do, depending on your application.
|Boid count||Single-thread Time||Parallel Time|
rayon: Enable parallel processing
serde: Enable serde support for all types
puffin: Enable support for the
puffin_viewerrequires the packages
libgtk-3-dev libatk1.0-dev libsdl-pango-dev libcairo2-dev
You can run the demo app with
cargo run --example showcase --features rayon