Skip to content

Reshape disjoint for cross-module specialisation#589

Draft
sjakobi wants to merge 1 commit intomasterfrom
disjoint-spec-constr
Draft

Reshape disjoint for cross-module specialisation#589
sjakobi wants to merge 1 commit intomasterfrom
disjoint-spec-constr

Conversation

@sjakobi
Copy link
Copy Markdown
Member

@sjakobi sjakobi commented Mar 18, 2026

I asked Codex to take a stab at making SpecConstr work for disjoint. I'm recording the result here so I can take a closer look later.

Keep disjoint's recursive workers local under its INLINE wrapper and thread SPEC through the recursion. This gives client modules a better chance to get both type specialisation and SpecConstr on the same hot path, especially for collision handling.

Assisted-by: Codex

@sjakobi sjakobi self-assigned this Mar 18, 2026
Keep disjoint's recursive workers local under its INLINE wrapper and
thread SPEC through the recursion. This gives client modules a better
chance to get both type specialisation and SpecConstr on the same hot
path, especially for collision handling.

Assisted-by: Codex
@sjakobi sjakobi force-pushed the disjoint-spec-constr branch from 7e079bb to b02833e Compare March 18, 2026 17:11
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