Cysharp/ZLinq
Zero allocation LINQ with LINQ to Span, LINQ to SIMD, and LINQ to Tree (FileSystem, JSON, GameObject, etc.) for all .NET platforms and Unity, Godot. observed · 2026-10-11
Health v2 · maintenance only
89/100
- Activity 98
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 4379
- days_rel: 195
- days_push: 14
- n_releases_24m: 57
Adoption not part of the score
5282 stars · 217 forks observed · 2026-10-11
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ZLinq is a zero-allocation LINQ replacement library for .NET and Unity/Godot, built on struct-based ValueEnumerable to avoid allocations in method chains. It adds LINQ to Span, LINQ to SIMD, and LINQ to Tree (FileSystem, JSON, GameObject) with 99% compatibility with .NET 10's LINQ.
Use cases
- reduce garbage collection pressure from LINQ chains in C# games
- run LINQ operations on Span<T> without allocations
- use modern .NET 10 LINQ operators in Unity or .NET Framework 4.8
- accelerate LINQ queries with automatic SIMD
- query tree structures like JSON or GameObject hierarchies with LINQ syntax
- drop-in replace standard LINQ for higher performance
When to choose
- you're building performance-critical .NET or Unity applications where LINQ allocations matter
- you want modern LINQ operators on older targets like netstandard2.0
- you need LINQ over Span<T> or SIMD-accelerated sequences
When to avoid
- your project targets platforms without struct generics support
- you rely on LINQ features outside ZLinq's 99% compatibility surface
- allocation overhead is irrelevant and you prefer the standard library
Facets
library · maturity active
serialization developer-tools performance developer-tools cross-platform dotnet game-engine linq zero-allocation csharp simd span struct-enumerable unity godot algorithms game-development
1 source
- readme: https://github.com/Cysharp/ZLinq · fetched 2026-10-11 · eab4cf4262e3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Cysharp/ZLinq | main | 89 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem