dadhi/FastExpressionCompiler
Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 98
- Release rhythm 79
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 30
- age_days: 3701
- days_rel: 142
- days_push: 14
- n_releases_24m: 14
Adoption not part of the score
1374 stars · 94 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A .NET library that compiles C# expression trees to delegates far faster than the built-in LINQ compiler, with a lightweight LightExpression alternative and diagnostic/code-generation tools. It is widely used by DI containers, ORMs, and mappers for high-performance expression evaluation.
Use cases
- compile expression trees faster than Expression.Compile
- speed up dependency injection container resolution
- build an ORM that evaluates expressions quickly
- reduce memory allocations when compiling lambdas
- use a lighter expression tree implementation
- diagnose and generate code from expression trees
When to choose
- you compile many expression trees at runtime and compile time is a bottleneck
- you build a DI container, ORM, mapper, or serializer that relies on expression compilation
- you need a lightweight expression tree alternative with fast compilation
When to avoid
- you only compile a handful of expressions once at startup
- you are not on .NET or .NET Framework 4.7.2+
- you need full parity with every System.Linq.Expressions feature
Facets
library · maturity stable
compiler serialization developer-tools developer-tools performance programming-languages dotnet cross-platform expression-trees c-sharp delegates il-codegen lightexpression dryioc
1 source
- readme: https://github.com/dadhi/FastExpressionCompiler · fetched 2026-08-28 · 0670059c8eb4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dadhi/FastExpressionCompiler | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="dadhi/FastExpressionCompiler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem