On 01.06.2016 17:30, Andrei Alexandrescu wrote:
On 06/01/2016 11:24 AM, Jonathan M Davis via Digitalmars-d wrote:
It seems more like RCString is an optimization for certain types of
programs than what you'd want to use by default.
You'll always want to use it. The small string optimization will make it
compelling for all applications. -- Andrei
- Why is it dependent on the allocation strategy or on the type of the data?
- It seems to be a pessimization if I'm taking a lot of small slices.
- It is undesirable if I later want to reference-compare those slices.