Towards Understanding the Runtime Performance of Rust
dl.acm.org
dl.acm.org
What's more perplexing is they're aware of iterators: they use them in the setup code all the time!
Apparently this was intentional:
> We manually inspected the code of each program and ensured that the two versions (i) implement the same algorithm, (ii) follow the same structure (e.g., both use for loops), (iii) use similar data when possible, and (iv) involve no library functions and system calls. We envision that, this way, the implementation differences are reasonably minimized.
This doesn't mean this analysis is inherently bad, but it does mean that it's not necessarily representative of actual Rust programs, which is the Achilles heel of any microbenchmark comparison