microsoft / microsoft/qdk

Partial eval optimizations leveraging enhanced static tracking

Open
#2,094 0 comments 0 reactions 1 assignee View on GitHub

@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 + 0
    • 1 + var, var + 1
    • var - 0
  • Shortcuts
    • 0 * var, var * 0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.