Should you use to_string() or .to_owned? Intro to Rust Micro-benchmarking w/ Criterion:
Michael Mullin
0:00 / 0:00
Should you use to_string() or .to_owned? Intro to Rust Micro-benchmarking w/ Criterion:
4 334 просмотра · 4 года назад
Michael Mullin
3,13 тыс. подписчиков
4 334 просмотра · 4 года назад
In this video I introduce you to rust microbenchmarking with cargo criterion, and answer the question "Should I use to_string() or to_owned() on my &str?"
You can get the code here:
https://github.com/masmullin2000/whic...