ZLinq is a zero-allocation LINQ library and memory-efficient collection toolkit for C#. It provides a high-performance replacement for standard query operations by using value-type enumerators and pooled memory to eliminate heap allocations and reduce garbage collection overhead.
The library features a C# source generator that automatically routes standard query method calls to these zero-allocation implementations. It further accelerates data processing through a SIMD accelerated data library, using hardware vectorization for numeric aggregations and bulk operations on primitive arrays and spans.
Beyond linear collections, the toolkit includes a hierarchical data query tool for traversing tree-like structures such as JSON nodes, file systems, and scene graphs using axis-based traversal. It also covers memory management strategies including shared array renting and buffer-based result copying to maintain execution speed in memory-constrained environments.