From 67e525587e649bc13abc846094ed736e988ed91b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 29 Apr 2026 13:43:41 +0000
Subject: [PATCH 1/3] Initial plan
From c480c7ee2e061263ea244c02b005e742262c70c1 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 29 Apr 2026 13:59:07 +0000
Subject: [PATCH 2/3] FlatExpression: track lambda node indices during
construction to reduce TryCollectInfo work
Agent-Logs-Url: https://github.com/dadhi/FastExpressionCompiler/sessions/9e120fbc-6ec4-46c7-9cc8-46e269e91f1b
Co-authored-by: dadhi <39516+dadhi@users.noreply.github.com>
---
.../FlatExpression.cs | 20 +++-
.../LightExpressionTests.cs | 112 +++++++++++++++++-
2 files changed, 128 insertions(+), 4 deletions(-)
diff --git a/src/FastExpressionCompiler.LightExpression/FlatExpression.cs b/src/FastExpressionCompiler.LightExpression/FlatExpression.cs
index 01338164..b8107204 100644
--- a/src/FastExpressionCompiler.LightExpression/FlatExpression.cs
+++ b/src/FastExpressionCompiler.LightExpression/FlatExpression.cs
@@ -167,6 +167,12 @@ public struct ExprTree
/// Gets or sets closure constants that are referenced from constant nodes.
public SmallList