Skip to content

Optimize tuple and map emptiness checks - #15619

Merged
josevalim merged 2 commits into
mainfrom
jv-tuple-opt
Jul 16, 2026
Merged

Optimize tuple and map emptiness checks#15619
josevalim merged 2 commits into
mainfrom
jv-tuple-opt

Conversation

@josevalim

Copy link
Copy Markdown
Member

Short-circuit disjoint and subtype tuple elements
before exploring the general difference branches.

Assisted-by: Codex:GPT-5.6

Short-circuit disjoint and subtype tuple elements
before exploring the general difference branches.

Assisted-by: Codex:GPT-5.6
@josevalim josevalim changed the title Optimize tuple emptiness checks Optimize tuple and map emptiness checks Jul 16, 2026
@josevalim
josevalim merged commit 59e257d into main Jul 16, 2026
26 checks passed
@josevalim
josevalim deleted the jv-tuple-opt branch July 16, 2026 19:27
@josevalim

Copy link
Copy Markdown
Member Author

💚 💙 💜 💛 ❤️

josevalim added a commit that referenced this pull request Jul 28, 2026
Short-circuit disjoint and subtype tuple elements
before exploring the general difference branches.

This is a backport 59e257d.

Assisted-by: Codex:GPT-5.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant