On 06/01/2016 05:03 PM, Timon Gehr wrote:
The small string optimization also works for GC-allocated strings. Why do I always want to use RCString instead of the corresponding GCString? (Also, the same approach can be applied to other arrays with value semantics.)
Point taken, thanks. Mine was that you can't (reasonably) use the SSO if you commit to represent strings as bare slices. -- Andrei
