8 ms·
I think you could just use black_box to get around the optimizer: http://doc.rust-lang.org/1.1.0/test/fn.black_box.html http://doc.rust-lang.org/1.1.0/test/fn.
by Retra 11y ago
I think you could just use black_box to get around the optimizer:
http://doc.rust-lang.org/1.1.0/test/fn.black_box.html http://doc.rust-lang.org/1.1.0/test/fn.black_box.html
I've never actually tried it outside of tests, so I don't know if it applies here.