Skip to content

refactor: group rule cache entries by directory#14576

Draft
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-rnrkkxzzkvrv
Draft

refactor: group rule cache entries by directory#14576
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-rnrkkxzzkvrv

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

Store workspace-local rule cache entries in a two-level table keyed first by the target directory and then by basename. This lets entries in the same directory share the directory key and reduces the size of the persisted database.

Bump the incremental DB version for the new layout.

Store workspace-local rule cache entries in a two-level table keyed first by the target directory and then by basename. This lets entries in the same directory share the directory key and reduces the size of the persisted database.

Bump the incremental DB version for the new layout.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
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