If ever you commit a perf improvement, add a benchmark! If there isn't
a benchmark to measure, it never got faster. I mean, you already wrote
a benchmark, otherwise you wouldn't be able to measure the perf
improvement, right?

It should either be a #[bench] (as described in
https://github.com/mozilla/rust/wiki/Doc-unit-testing#benchmarking),
or its own file in src/test/bench.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to