On 9/20/14, 11:01 AM, "Nordlöw" wrote:
How big overhead is an RC compared to a non-RC GC-free string variant?
Ballpark would be probably 1.1-2.5x. But there's of course a bunch of variability.
Perhaps it would be nice to add a template parameter in RCXString that makes the RC-optional?
Manual memory management is not part of its charter.
If I want a *non*-RC GC-free variant of string/wstring/dstring what's the best way to define them?
I think you're back to malloc and free kind of stuff.
Would Array!char, Array!wchar, Array!dchar, be suitable solutions? Of course these wouldn't utilize SSO. I'm asking because Array is RandomAccess but string/wstring is not byCodePoint.
Those are refcounted. Andrei
