Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 10
What does std::hint::black_box do in benchmarks?
A
Prevents the optimizer from deleting or constant-folding the code being measured
B
Disables inlining globally
C
Makes the benchmark run in a sandbox
D
Hides output