OT - Replacing strings with slices in C# - high performance improvement

Seb seb at wilzba.ch
Sat Apr 21 18:37:13 UTC 2018


On Saturday, 21 April 2018 at 16:08:13 UTC, Steven Schveighoffer 
wrote:
> On 4/20/18 8:27 PM, Jack Stouffer wrote:
>> On Friday, 20 April 2018 at 16:33:44 UTC, rumbu wrote:
>>> .NET Core 2.1 was announced, with emphasis on using Span<T> 
>>> instead of classic String class all around the framework. For 
>>> people not familiar with C#, Span<T> is similar to a D array 
>>> slice.
>>>
>>> https://blogs.msdn.microsoft.com/dotnet/2018/04/18/performance-improvements-in-net-core-2-1/
>>>
>> 
>> And we’re trying to move towards a string library type and 
>> away from raw slices :)
>
> Since when?
>
> -Steve

At least 2 1/2 years:

https://forum.dlang.org/thread/56B1224A.7050309@erdani.com


More information about the Digitalmars-d mailing list