Partial eval optimizations leveraging enhanced static tracking
Open
@idavis is already working on this.
Since May 6, 2025.
enhancement
low-priority
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 212
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 65
Description
Once #2087 is resolved, we will be able to better track static vars through partial eval. This opens the door for further optimizations such as
- Identity ops for int (and double once #2078 is merged)
0+var,var+01+var,var+1var-0
- Shortcuts
0*var,var*0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.