Skip to content

perf(rocq): retain shared dependencies in mixed install directories - #16649

Draft
Alizter wants to merge 2 commits into
ocaml:mainfrom
Alizter:perf-rocq-mixed-layout-groups
Draft

Alizter wants to merge 2 commits into
ocaml:mainfrom
Alizter:perf-rocq-mixed-layout-groups

Conversation

@Alizter

@Alizter Alizter commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #16622: keep library dependencies grouped in mixed install directories using sorted-array filename sets with logarithmic membership checks.

Preserves proof dependencies, rebuild behavior, and sandbox inputs while excluding root-section proof outputs. No engine changes or new memo tables. Regression tests precede the fix.

Validated @check, @fmt, predicate tests, package-materialization tests, and Rocq tests. Full test suite not run.

Exercise content and membership changes in a mixed-section plugin layout,
including filenames with glob metacharacters. Preserve exclusion of
root-section proof outputs and check actual discovery sandbox inputs.

Cover literal-set membership, complement, representation, and stable
comparison, hashing, and digests across construction orders.

Signed-off-by: Ali Caglayan <[email protected]>
Represent literal filename sets with sorted arrays and logarithmic
membership checks. Use these selectors to group library files in mixed
install directories while excluding root-section content.

Keep all-library selectors unconditional and directory targets explicit.
Reuse existing layout and selector memoization without new memo tables
or engine changes.

Signed-off-by: Ali Caglayan <[email protected]>

This branch has not been deployed

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

Labels

rocq Dune support for the Rocq proof assistant slop Needs to be desloppified.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant