Lightweight CLI for CPU, memory allocation, exception, lock contention, and heap profiling of .NET commands.
NCommons is a set of several .NET libraries which provide common building blocks that can be used by any kind of library or application. This library provides several generic and specialized collection-type members. Commonly Used Types: IPriorityQueue<T> PriorityQueue<T> Heap<T> BinaryHeap<T> INotifyCollectionChanging PreviewingObservableCollection<T> WeakReferenceCollection<T> You can find additional information and documentation on the library's GitHub page: https://github.com/manuelroemer/NCommons
A fast generic PriorityQueue data structure .NET
Non-comparison sorts and selection over primitive keys (LSD RadixSort for (u)int/(u)long/float/double with key+payload and key+index (argsort) forms, CountingSort for bounded key ranges, PartialSort quickselect / bounded-heap top-k), plus StringSort, a stable ordinal string sort (cached-key multikey quicksort), and KWayMerge, a stable loser-tree merge of sorted runs over spans or lazy sequences. Span-based, with caller-supplied-scratch overloads that allocate nothing. The package README documents where each one wins and where it does not. Part of the Celerity family.
A set of collections implemented as ref struct to minimize heap allocations.
MoreStructures is a library of classical algorithms and data structures, written 100% in (safe, managed) C# 10, for .NET 6 and above. Data structures - Stacks, Queues, Priority Queues, Disjoint Sets, Trees, Graphs, Suffix Trees, Suffix Tries. Algorithms - Strings sorting and matching. Lists searching and sorting. Trees augmentation and visit. Graphs: visits, minimum spanning tree, shortest distance, shortest path, topological sorting, strongly connected components. Suffix Trees and Tries construction and matching.
Fully managed library providing five types of heap. It implements d-ary, binary, binomial, Fibonacci and pairing heaps, in order to let the user choose the best heap to fit her/his needs. Each heap has its own advantages and disadvantages: please see the documentation or Wikipedia to better understand how those data structures work and how they behave in each operation.
Transport-agnostic .NET diagnostics engine for net8.0/net9.0/net10.0 consumers: attaches to a live process over the runtime diagnostic IPC socket and exposes process discovery, EventCounters, CPU/allocation sampling, GC and exception collection, heap and thread snapshots, and dumps. Wraps Microsoft.Diagnostics.NETCore.Client, Microsoft.Diagnostics.Runtime (ClrMD) and TraceEvent behind a use-case API. Shared engine behind the dotnet-diagnostics MCP server and CLI.
A library for all the data structures in C#. Every class is generic and reusable.
ADN.DataStructures is a cross-platform open-source library which provides data structures utilities to .NET developers
MCP server for .NET memory profiling — in-process heap snapshots via EventPipe with leak heuristics
MaulingMonKey's Json Writer API. No, the world didn't really need another JSON writer library. Yes, I wrote one anyways. Project Goals: - Zero Allocations - I should be able to use this to report heap corruptions. Payload limits are a feature (tm). - Cross Platform - any C++03 compiler should work (tm). - Less Bugs - via the abuse of macros & variable shadowing, to avoid common errors. - No Config - aiming to have "perfect" NuGet integration, with .libs, sane defaults, and source compilation fallback.
Immutable inline array-like implementations for passing tiny lists without heap allocations. TinyRoSpan, TinyRoVec, TinyVec
Standalone .NET diagnostics CLI for dotnet-diagnostics-mcp. References Core only — no MCP server, HTTP transport, or bearer auth. Supports one-shot commands, a session REPL, and a versioned JSONL streaming protocol over stdio.
Renderless harnesses for NoesisGUI. ControlCollectability proves controls are collectable: every constructible control is added to a live view, removed, and reported if the heap still holds it, catching the handler and command leaks NTK2101 and NTK2102 cannot see. XamlParity proves the XAML compiler builds what the Noesis parser builds for every document of a generated registry.
Type-safe "smart enums": self-registering enumeration objects (AutoEnumItem) with attached data, grouping, sorting, search, O(1) lookups, flag sets, and secondary indexes — plus game-ready data structures (RingBuffer, PriorityQueue for netstandard2.1/Unity, LruCache) and a thread-safe object pool.
Cache-line-tuned Judy arrays and off-heap zero-GC associative collections for .NET 8.0 and .NET 9.0+, powered by libexpanse.
A low-level, read-only container library for the Outlook personal-folders format (PST / MS-PST). Reads the node database of Unicode and ANSI files - the header, the node and block B-trees, block data with the format's permute and cyclic encodings decoded and checksums verified, multi-block data trees, and per-node subnode trees - and the LTP layer over it: heap-on-node, BTree-on-heap, and per-node property-context and table-context views with wire-typed values. The substrate a message-level reader builds on. No MAPI semantics and no writing.
Typed, allocation-free frame-builder library for NetworkInspector. Compose protocol stacks and emit RFC-conformant wire frames with zero heap allocations on the hot path.
ZaString is a high-performance, zero-allocation string manipulation library for C# that uses Span and ReadOnlySpan for optimal memory efficiency. Built for .NET 8.0+, it provides a fluent API for building strings without heap allocations.
Linear data structures (FastQueue, MinHeap, BoundedList) for Omni.Collections
What every Snail MCP server starts from: the empty host with log lines on stderr and the heap compacted when the server goes quiet, the MCP SDK's JSON options with a server's generated types put first, settings read from its settings file and its prefixed environment variables, the folders it keeps in the user's home under its s3l name, and the stable name of the running program for what it writes about itself.
CLI tool for analysing .NET memory dumps (.dmp / .mdmp), .nettrace/.etl files, and Chrome DevTools performance traces. Heap stats, trend analysis, deadlock detection, browser CPU/memory/jank analysis, and more.
.net standard 2.0 version it use a heap allocation represent a number, as if ensure a number is not truncate by IEEE standard.
Provides the ability to split a string into substrings based on a delimiter without any additional heap allocations.
XAML Updater — companion dotnet tool for Immons.Tools.Maui.Inspector: watches the in-app inspector for live property edits and writes them back into your XAML source files (WYSIWYG loop, pairs with IDE XAML Hot Reload). Also the desktop half of the Memory view's heap dumps: runs dotnet-gcdump against the app and reports every type's counts, sizes and root paths back to the panel.
Runtime base classes for C# bindings generated by the interrogate binding generator. Provides NativeObject (the base wrapper for C++ heap objects), ownership semantics (Borrowed / Owned / RefCounted), and native collection helpers used by all interrogate-generated C# assemblies.
Shared algorithms for FS.GG: a frozen-order binary and indexed heap, Q16.16 fixed point, nearest-rank percentiles, general best-first search (Dijkstra, A*), iterative Tarjan SCC, union-find, priority-band arbitration and the xoshiro128** generator. FSharp.Core only; every module compiles under Fable, and LockstepExact surfaces are bit-identical on .NET and JavaScript (ADR-0098).
High performance heap-based, array-backed writer for Span{T} and Memory{T} structures.
A delightful CLI tool and stdio MCP server for analyzing .NET memory dumps (.gcdump and process dumps). Provides heap analysis, type statistics, retained size calculations, string duplicate detection, object inspection, memory leak detection, interactive mode, and AI-agent MCP tools.
Introspects a MicroPython interpreter running on the RP2350Sharp emulator: decodes mp_obj_t values, resolves QSTRs, and walks mp_state_ctx (globals dict, heap) directly from the emulated SRAM — turning a running interpreter into observable, assertable state. Pair with an ELF symbol table from the firmware build to locate the VM roots.
VivaldiSoft.Collections is a cross-platform open-source library which provides data structures utilities to .NET developers
Thread-safe, stable ordered queue for .NET with immutable builder-based ordering and heap-backed enqueue/dequeue operations.
Package contains well-tested optimized data-structures like FastDictionary, Heap etc.
K-way external merge sort for .NET 8. Sort datasets larger than available memory using parallel chunk sorting and binary min-heap merge. v1.0.6 shares one estimated item-memory budget across a bounded pool of reusable chunk buffers, with cancellation-aware waits and worker cleanup on failure. Includes parallel multi-pass merge, Knuth's Replacement Selection, Int64 record counts and sort metrics. Generic IExternalSorter<T> — plug in any record type, comparer, and serializer.
Garbage Collector enhancement to free all unused windows heap memory.
Zero-alloc, AOT-ready WinFsp binding for modern .NET. A high-performance alternative to the official WinFsp.Net package with full Native AOT support, zero managed heap allocations on hot paths, and a modern async-first API.
Introspects a MicroPython interpreter running on the RP2350Sharp emulator: decodes mp_obj_t values, resolves QSTRs, and walks mp_state_ctx (globals dict, heap) directly from the emulated SRAM — turning a running interpreter into observable, assertable state. Pair with an ELF symbol table from the firmware build to locate the VM roots.
A .NET 9 library that provides high performance string enrichment functionalities with zero heap allocations building styled strings for Telegram.