Skip to content

Optimize a fast-path in Genlambda compilation.#21679

Open
ppedrot wants to merge 1 commit intorocq-prover:masterfrom
ppedrot:fast-path-genlambda-let-expand
Open

Optimize a fast-path in Genlambda compilation.#21679
ppedrot wants to merge 1 commit intorocq-prover:masterfrom
ppedrot:fast-path-genlambda-let-expand

Conversation

@ppedrot
Copy link
Member

@ppedrot ppedrot commented Feb 27, 2026

Rather than computing first whether a variable appears in a term in O(n) and then checking that some term is a value in O(1), we flip the order. This prevents a superlinear blowup in an optimization pass in Genlambda that was observable in #13606.

Rather than computing first whether a variable appears in a term in O(n)
and then checking that some term is a value in O(1), we flip the order.
This prevents a superlinear blowup in an optimization pass in Genlambda
that was observable in rocq-prover#13606.
@ppedrot ppedrot added this to the 9.3+rc1 milestone Feb 27, 2026
@ppedrot ppedrot requested a review from a team as a code owner February 27, 2026 15:01
@ppedrot ppedrot added kind: performance Improvements to performance and efficiency. request: full CI Use this label when you want your next push to trigger a full CI. labels Feb 27, 2026
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Feb 27, 2026
@SkySkimmer SkySkimmer self-assigned this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: performance Improvements to performance and efficiency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants