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

Store computed values so they can be reused when facts change #13

Open
silug opened this issue Oct 18, 2024 · 0 comments
Open

Store computed values so they can be reused when facts change #13

silug opened this issue Oct 18, 2024 · 0 comments

Comments

@silug
Copy link
Contributor

silug commented Oct 18, 2024

Currently if facts are set in ComplianceEngine::Data, all computed values are discarded. This is inefficient.

We should be able to filter the incoming facts to only the keys returned by confines, use .hash on the result, and key the computed values on that.

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

No branches or pull requests

1 participant