Misaki.HighPerformance
1.0.10
dotnet add package Misaki.HighPerformance --version 1.0.10
NuGet\Install-Package Misaki.HighPerformance -Version 1.0.10
<PackageReference Include="Misaki.HighPerformance" Version="1.0.10" />
<PackageVersion Include="Misaki.HighPerformance" Version="1.0.10" />
<PackageReference Include="Misaki.HighPerformance" />
paket add Misaki.HighPerformance --version 1.0.10
#r "nuget: Misaki.HighPerformance, 1.0.10"
#:package Misaki.HighPerformance@1.0.10
#addin nuget:?package=Misaki.HighPerformance&version=1.0.10
#tool nuget:?package=Misaki.HighPerformance&version=1.0.10
Misaki.HighPerformance
Core collection utilities and shared helpers for high-performance C# code.
This package provides lightweight, allocation-conscious building blocks that are useful across the rest of the solution and in standalone projects.
What it includes
- dynamic and reusable collection primitives
- slot maps and sparse sets
- object pooling helpers
- atomic counters
- collection utilities and shared result types
Highlights
- designed for performance-sensitive code paths
- minimal abstraction over common data-structure patterns
- useful as a small runtime dependency for other packages in this solution
Main types
DynamicArray<T>SlotMap<T>ConcurrentSlotMap<T>SparseSet<T>AtomicCounterObjectPool<T>Result<T>
Example
using Misaki.HighPerformance.Collections;
var values = new DynamicArray<int>();
values.Add(10);
values.Add(20);
values.Add(30);
ref int firstValue = ref values[0];
Span<int> span = values.AsSpan();
Package reference
dotnet add package Misaki.HighPerformance
Notes
This project targets net10.0 and enables unsafe code where needed by the broader solution.
| 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 (2)
Showing the top 2 NuGet packages that depend on Misaki.HighPerformance:
| Package | Downloads |
|---|---|
|
Misaki.HighPerformance.LowLevel
A true high-performance, low-level native memory and collection library for C#. Features a pluggable memory allocation architecture (AllocationHandle) with built-in allocators: Arena, FreeList, TLSF, and Malloc (mimalloc support). Includes fully unmanaged native collections (UnsafeArray, UnsafeList, UnsafeHashMap, etc.) and cross-platform mmap/munmap wrappers. Designed for Data-Oriented Design (DOD), custom game engines, and zero-allocation systems. |
|
|
Misaki.HighPerformance.Jobs
A high-performance, zero-allocation (0 GC), and zero-closure job system designed for custom game engines and data-oriented design (DOD). Features a lock-free Work-Stealing scheduler (SPMC) with DAG-based multi-dependency resolution. Includes a blazingly fast O(1) branchless priority queue (High/Normal/Low) using Cascade LUTs. Uniquely supports both unmanaged and managed jobs seamlessly via internal pooling, offering maximum flexibility without compromising C# GC performance. |
GitHub repositories
This package is not used by any popular GitHub repositories.