|
|
|
|
|
by Asraelite
559 days ago
|
|
My original comment was just saying that it's useful to point out to people that the concrete representation of a string in memory is a struct when relevant, since some people might not realize that. I'm not claiming anything about the best way to think about it overall. > How these are implemented and their structural details is not really what's important Usually this isn't important, unless you're talking about low level details impacting performance, which is exactly what the article is about. |
|
And if you’re going down that path, the string may not have a pointer at all.
“A string value is not the string content itself”, but in most cases it is if the string is short enough, implementation dependent disclaimer and all that.