Closed
Description
As I learned from https://gendignoux.com/blog/2022/01/31/rust-benchmarks.html#application-to-real-benchmarks file library/core/benches/char/methods.rs
and possibly other files in this repo contain wrong benchmarks.
As author of the article points, call c.to_digit(2)
optimizes to None and thus doesn't get benchmarked.
So, please, find all such places and fix them. The faulty example still present in latest master