-
I'm getting the following error:
```
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: start
at System.ThrowHelper.ThrowArgumentOutOfR…
-
`ArrayPool` has it's own [EventSource](https://github.com/dotnet/corefx/blob/master/src/Common/src/CoreLib/System/Buffers/ArrayPoolEventSource.cs)
It emits 3 events:
- `BufferRented`
- `BufferRetu…
-
From https://github.com/dotnet/coreclr/pull/25437#discussion_r299797776 :
Let's say I have 32GB physical memory with 16GB of free memory, set COMPlus_GCHeapHardLimit to 200MB, and start using array…
-
Is there a way to enable/support debugging and stepping through internal code in sourcelink?
As an example, the actual implementation of the shared array pool is in an internal class.
F12 into `Sh…
-
### Problem Statement
We allocate a lot of `MemoryStream` buffers internally, in the hot path.
It may be beneficial to use [`Microsoft.IO.RecyclableMemoryStream`](https://github.com/microsoft/Mi…
-
From https://gitter.im/dotnet/corefx?at=5d043a468e050f62aa1ccc18 :
using the arraypool is great in theory but since it responds to gc pressure once you start getting collections you lose most benef…
-
First of all, great work!
Would be really neat if a custom allocator could be used instead of `new []` - as this library is most likely used in context of some web services and decent memory parame…
-
Please consider allowing `System.Buffers` namespace. Currently:
```c#
class Program
{
static void Main() => System.Buffers.ArrayPool.Shared.Rent(10);
}
```
throws:
> Unbreakable.Asse…
-
Hi,
YouTube hates me and deletes all my comments due to links.
Benchmark:
```csharp
using System.Buffers;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
BenchmarkRunne…
-
https://github.com/linksplatform/Collections/blob/e4fbd366f3a3951f343133eaf71ce3d2a0b68d06/Arrays/ArrayPool.cs#L7