The importance of this optimization is perhaps less in Rust, which has safe string slices permeating its APIs, lessening the amount of string allocation and copying that goes on.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Feature request: make every String a smartstring | 15 | 1364 | October 22, 2023 | |
| Small string optimization: remove as_mut_vec | 71 | 14370 | March 25, 2019 | |
|
[pre-RFC] Allowing string literals to be either &'static str or String, similar to numeric literals
|
39 | 11034 | March 25, 2019 | |
| Getting rid of String slices for better ergonomy | 55 | 3318 | March 25, 2019 | |
| Pre-ACP: Un-specialize impl ToString | 17 | 1176 | December 27, 2024 |