4 ms·
> But for example Java, C# and Go (slices) substring doesn't copy data. If you're stating that C# Substring doesn't copy the string, that is incorrect; .NET a
by zastrowm 11y ago
> But for example Java, C# and Go (slices) substring doesn't copy data.
If you're stating that C# Substring doesn't copy the string, that is incorrect; .NET always makes a copy: http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time http://stackoverflow.com/questions/6742923/if-strings-are-im...