Some benchmarks for flatten and map in Rust.
I used these to arrive at the figures in my article here:
https://blog.startifact.com/posts/humble-for-loop-rust/
I am putting it up there so people can replicate and criticize my results.
Run them using cargo bench --benches