dzmitry-lahoda

Results 322 comments of dzmitry-lahoda

Span marked with aggressive inlining: ``` BenchmarkDotNet=v0.11.3, OS=Windows 10.0.17763.615 (1809/October2018Update/Redstone5) Intel Core i7-7700HQ CPU 2.80GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores .NET Core SDK=3.0.100-preview5-011568 [Host] :...

So: 1. Wait for release of .NET Core 3. 2. Make both - aggressive optimization and inlining. 3. Measure.

MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization ? It may not help either. But at least, in Unity IL2CPP both span and index were slow, so people put items array as public. So if...

We are on Unity which is standard 2.0 and will be 2.1. On server, because of some legacy, we still .net full, which is standard 2.0 and will be 2.1....

https://blogs.msdn.microsoft.com/dotnet/2018/10/04/update-on-net-core-3-0-and-net-framework-4-8/ > Given many of the API additions in .NET Standard 2.1 require runtime changes in order to be meaningful, .NET Framework 4.8 will remain on .NET Standard 2.0 rather...

If Span is as fast as Array in .NET Core 3.0 (not sure of other runtimes as of now), may be it could be considered to use MemoryPool, instead of...

I may implement custom memory pool integrated with Unity event loop https://github.com/dzmitry-lahoda/memory-pool-unity-unsafe . So exotic case could be games. But of course not for the price of common case. MemoryPool...

Weird... `SimpleGenericFastAsManual` - array storage in same project as test bench `Generic7Bit` - memory-span storage backed by array in net standard 2.0 project, same fast when used array ( from...

There is something https://github.com/dotnet/coreclr/issues/23620 . So changing runtime may slow array access (may be because of JIT recompilations). BDN runs much slower on 3.0. I have increased N size and...

Given one more generic parameter into list, it seems possible to have both (array and memory) solutions in one code base. So need to test on list. Idea is wrap...