Supprocom.NativeAllocationManagement
0.2.0
See the version list below for details.
dotnet add package Supprocom.NativeAllocationManagement --version 0.2.0
NuGet\Install-Package Supprocom.NativeAllocationManagement -Version 0.2.0
<PackageReference Include="Supprocom.NativeAllocationManagement" Version="0.2.0" />
<PackageVersion Include="Supprocom.NativeAllocationManagement" Version="0.2.0" />
<PackageReference Include="Supprocom.NativeAllocationManagement" />
paket add Supprocom.NativeAllocationManagement --version 0.2.0
#r "nuget: Supprocom.NativeAllocationManagement, 0.2.0"
#:package Supprocom.NativeAllocationManagement@0.2.0
#addin nuget:?package=Supprocom.NativeAllocationManagement&version=0.2.0
#tool nuget:?package=Supprocom.NativeAllocationManagement&version=0.2.0
Supprocom.NativeAllocationManagement
Supprocom.NativeAllocationManagement gives C# code explicit ownership of native
storage. NativePool<T> reuses typed slabs. NativeRegion provides one lexical
heterogeneous lifetime. NativeArena provides reusable heterogeneous storage.
NativeBuilder<T> writes growable unmanaged sequences without managed intermediate
arrays. NativeTransfer<T> moves heap-storable ownership across thread boundaries.
NativeWorkspace<T> reuses one fixed typed block in a worker hot loop.
Each bounded operation checks the state required by its allocator contract. The bundled Roslyn analyzer checks ownership and bounded-view rules in consumer source. The package targets .NET 10.
Documentation
The getting-started guide contains installation instructions, complete examples, lifecycle rules, analyzer diagnostics, and cleanup requirements.
The guide covers typed pools, fixed workspaces, lexical regions, reusable arenas, growable builders, cross-thread transfers, scoped recycling, statistics, and trimming.
Measured performance
The included voxel benchmark estimates a 50 to 85 percent performance improvement over expert safe C# in non-memory-constrained control profiles.
Very memory-constrained profiles estimate 90 to 130 percent. Selected higher-turnover runs exceed 150 percent.
Both implementations process equal inputs and outputs. The expert safe C# path uses pooling, exact sizing, bounded retention, and proactive memory admission.
The matrix treats constrained-memory qualification as information. It verifies equal binary limits, no swap, and cumulative demand. It does not require garbage collection or a resident-memory threshold.
These estimates apply only to the included workload and test system. The voxel pipeline guide contains the method, commands, and current evidence.
License
This project uses the GNU Affero General Public License, version 3 only. See LICENSE.md for the complete terms and project-specific source offer.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Specialize Region, Arena, and Pool hot paths. Add bounded builder writes, reusable workspaces, and stricter ownership analysis.