Skip to content

fix(resolver): resolve call arguments once (1.0.x) - #1961

Open
volsa wants to merge 1 commit into
release/1.0.xfrom
backport/1.0.x/resolve-call-arguments-once
Open

volsa wants to merge 1 commit into
release/1.0.xfrom
backport/1.0.x/resolve-call-arguments-once

Conversation

@volsa

@volsa volsa commented Oct 1, 2026

Copy link
Copy Markdown
Member

Backport of #1960 to release/1.0.x.

Problem: Each call resolved its arguments twice, so nested calls took time exponential in their depth: 18 nested calls took 17 s to check. The date and time operator replacement that makes this worse on master does not exist on this branch.

Solution: Resolve the arguments of a call once before they are matched to the parameters. 18 nested calls now take 0.06 s; a lit test covers 30 nested calls.

🤖 Generated with Claude Code

Problem: Each call resolved its arguments twice, so nested calls took
time exponential in their depth.

Solution: Resolve the arguments of a call once before they are matched
to the parameters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Build Artifacts

🐧 Linux

Artifact Link Size
deb-x86_64 Download 38.7 MB
schema Download 0.0 MB
plc-aarch64 Download 43.3 MB
stdlib Download 33.5 MB
deb-aarch64 Download 30.9 MB
plc-x86_64 Download 43.5 MB

From workflow run

🪟 Windows

Artifact Link Size
stdlib.lib Download 4.0 MB
plc.exe Download 38.4 MB
stdlib.dll Download 0.1 MB

From workflow run

@volsa
volsa marked this pull request as ready for review October 1, 2026 11:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant