3 ms·
Never heard of this concept I found this https://github.com/Enichan/Arenas https://github.com/Enichan/Arenas For C#. Been trying to get into more managed mem
by tiptup300 3y ago
Never heard of this concept I found this
https://github.com/Enichan/Arenas https://github.com/Enichan/Arenas
For C#.
Been trying to get into more managed memory in C#, so this might be something good for that.
- neonsunset 3y agoAnother one is https://github.com/xoofx/Varena https://github.com/xoofx/Varena Arguably, there's less need for arenas in C# in most scenarios than in Go because of easy object and array pooling out of box with ArrayPool<T>, ObjectPool<T> (Sdk.Web workload) and stackalloc/InlineArray and co. You can also just use malloc/free directly with NativeMemory.Alloc/Free instead.