std::string responsible for half the allocations in chrome
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 5 16:03:01 PST 2014
On 12/5/2014 2:03 PM, deadalnix wrote:
> http://www.reddit.com/r/programming/comments/2ocmvb/stdstring_is_responsible_for_almost_half_of_all/
>
>
> Looks like someone need immutable(char)[] .
Also slicing. The huge advantage of slicing is avoiding the necessity of a copy
just to add the terminating 0.
More information about the Digitalmars-d
mailing list