You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SSO is a popular optimization technique and is currently implemented in all the major C++ standard libraries*.
If Rust decides to adopt it too then it will come into contradiction with the String::as_mut_vec method, which exposes details of the current String implementation incompatible with SSO.
I suppose, the choice between these two has to be made before marking as_mut_vec as stable.
*Although it's not used by default in libstdc++ due to ABI compatibility