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 | |
---|---|---|---|---|
Small string optimization: remove as_mut_vec | 71 | 14045 | March 25, 2019 | |
Feature request: make every String a smartstring | 15 | 1265 | October 22, 2023 | |
[pre-RFC] Allowing string literals to be either &'static str or String, similar to numeric literals
|
39 | 10850 | March 25, 2019 | |
Getting rid of String slices for better ergonomy | 55 | 3170 | March 25, 2019 | |
Needs more Cow-bell?
|
9 | 4275 | March 25, 2019 |