-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These changes add basic indexing support to the compiler. Rules can be indexed based on their contents. In this case, the first indexing strategy we support is based on expressions of the form: eq(term, base_doc_ref) where the term doesn't require evaluation (except vars). In these cases, we construct a trie that allows us to efficiently search for rules that must be evaluated (rules that do not have to be evaluated are excluded by the search.) As part of these changes the virtual doc benchmark has been updated to include rules that are hit and missed by the rule indexer.
- Loading branch information
Showing
7 changed files
with
1,051 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.