Skip to content

UnboundList: More compact string representation take 2 - #22623

Open
hvitved wants to merge 2 commits into
github:mainfrom
hvitved:unbound-list-ascii-encoding
Open

hvitved wants to merge 2 commits into
github:mainfrom
hvitved:unbound-list-ascii-encoding

Conversation

@hvitved

@hvitved hvitved commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Reverts the revert and adds a needed join-order fix.

@hvitved hvitved added the no-change-note-required This PR does not need a change note label Sep 18, 2026
@hvitved
hvitved marked this pull request as ready for review September 18, 2026 11:26
Copilot AI balanced review requested due to automatic review settings September 18, 2026 11:26
@hvitved
hvitved requested a review from a team as a code owner September 18, 2026 11:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The optimizer-sensitive change should receive successful DCA performance validation before approval.

Review effort: Balanced
Findings: None

What changed in this PR

Reapplies compact ASCII encoding for UnboundList while correcting the join order that caused the earlier performance regression.

Changes:

  • Encodes element ranks using printable ASCII characters excluding ..
  • Updates list parsing regexes for the new encoding.
  • Adds binding and late-inlining hints to singleton construction.
File Description
shared/​util/​codeql/​util/​UnboundList.qll Implements compact encoding and join-order optimization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants