Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrap the for loop index in a black_box to prevent optimizations to happen, which lead to incorrect benchmark comparison. On my machine without the blackbox the slow function took 200 picoseconds while the fast took 2.5ns.
- Loading branch information