dadhi/FastExpressionCompiler

Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.

63
/ 100
Established

Compiles expression trees 10-40x faster than standard `.Compile()` by leveraging IL generation and avoiding the sandbox overhead of DynamicMethod, while producing delegates with comparable or superior runtime performance. Provides LightExpression—a stripped-down alternative to System.Linq.Expressions that reduces memory footprint for scenarios prioritizing compilation speed over full expression flexibility. Widely adopted by DI containers (DryIoc, Lamar, StructureMap), ORMs (LINQ2DB, Marten), serializers (Apex.Serialization, Mapster), and message brokers (Rebus, NServiceBus).

1,349 stars. Actively maintained with 16 commits in the last 30 days.

No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

1,349

Forks

92

Language

C#

License

MIT

Last pushed

Mar 17, 2026

Commits (30d)

16

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/dadhi/FastExpressionCompiler"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.