Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new setting to cache AST conversions from store #1256

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

anderseknert
Copy link
Member

This doesn't have a huge impact on regal lint (although it does result in less allocations), but could potentially make a real difference for the LSP policies where ASTs from the whole workspace is provided under data.workspace.

Also, add the simple benchmark test I've been using for OPA fixes.

This doesn't have a huge impact on `regal lint` (although it does
result in less allocations), but could potentially make a real difference
for the LSP policies where ASTs from the whole workspace is provided under
`data.workspace`.

Signed-off-by: Anders Eknert <anders@styra.com>
@anderseknert anderseknert merged commit 5cb67ea into main Nov 12, 2024
5 checks passed
@anderseknert anderseknert deleted the store-read-ast branch November 12, 2024 12:37
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.

2 participants