std::string responsible for half the allocations in chrome
Joseph Rushton Wakeling via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 6 08:10:09 PST 2014
On 05/12/14 23:03, deadalnix via Digitalmars-d wrote:
> http://www.reddit.com/r/programming/comments/2ocmvb/stdstring_is_responsible_for_almost_half_of_all/
>
> Looks like someone need immutable(char)[] .
Someone asked me the other day, and I realized I didn't have a ready answer as
I'd never particularly considered it: why is it important/beneficial that the
string type be immutable(char)[] ?
More information about the Digitalmars-d
mailing list