# Todo * Use flamegraph to optimize * [https://github.com/flamegraph-rs/flamegraph] * Does this work with criterion, or do I need an example application? * [Automatic Flamegraphs for Benchmarks in Rust](https://www.jibbow.com/posts/criterion-flamegraphs/) * [Iai](https://github.com/bheisler/iai) * [A better Rust profiler](https://matklad.github.io/2021/02/10/a-better-profiler.html) * Check if collect is called too often / too soon * See [Rust Performance Book - Iterators](https://nnethercote.github.io/perf-book/iterators.html) * Clone of iterator? Rework? * Parallelisation * Add fuzzing