3 ms·
The "string" in this blog post, named s8, is the string slice reference, Rust's &str and C++ std::string_view it is a non-owning type Since it doesn't own any
by tialaramex 2y ago
The "string" in this blog post, named s8, is the string slice reference, Rust's &str and C++ std::string_view it is a non-owning type
Since it doesn't own anything the Small String Optimisation is irrelevant.