News for hackers. Stuff that matters.
Re:Announcing .NET Core 2.1 by benaadams on Wednesday May 30, 2018 @02:58PM (#17190590)
If you take substrings of strings; using string.AsSpan() then allows you to work it as a Span<T> and take windows of the string without allocating an new string for the substrings.

Also it means you can now pass readonly arrays (the elements) to things using ReadOnlySpan<T>; so don't have to do defensive copies

There are no comments on this comment yet.