Our Sister
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 26 14:29:59 PDT 2016
On 05/26/2016 04:32 PM, Bastiaan Veelo wrote:
> * Would it support implicit sharing (copy-on-write)? What about
> sub-strings?
Yes, COW. Substrings will be managed COW-ish as well (no copy upon
substring extraction).
> * Will concatenations be fast?
No, it will copy (i.e. no multiple segments management). It will be of
course optimized as much as we can.
> * Would this have value for compile time string operations, mixin's, etc.?
Not planned.
>> RFC: what primitives should RCStr have?
>
> String may have a few that are worth supporting:
> http://doc.qt.io/qt-5/qstring.html
Good list. Thanks!
Andrei
More information about the Digitalmars-d
mailing list