Indexes 6: Changes version_filter field in index schema#1344
Open
dcookspi wants to merge 3 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
83c8d12 to
3dcf4e3
Compare
95154e5 to
6e12345
Compare
jrray
reviewed
Apr 2, 2026
jrray
requested changes
Apr 2, 2026
jrray
reviewed
Apr 2, 2026
39f3a57 to
50c68f1
Compare
c3fb021 to
81fb685
Compare
This was referenced Apr 16, 2026
5540bc7 to
ab04c9f
Compare
f31a655 to
d9f7cef
Compare
52b5be2 to
7556016
Compare
list/table representation instead of a string. The field no longer needs to be parsed when extracted from the index. Signed-off-by: David Gilligan-Cook <dcook@imageworks.com>
…enamed Version access methods to version. Signed-off-by: David Gilligan-Cook <dcook@imageworks.com>
d9f7cef to
7aa00a9
Compare
Signed-off-by: David Gilligan-Cook <dcook@imageworks.com>
jrray
approved these changes
May 6, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes the
version_filterfield in the index schema to a flatbuffers list and table representation, instead of a string. This allows the version filter rules (VersionRange entries) to be extracted from the index without string parsing.The resulting index is slightly larger at 122 MB (see Indexes PR 5: #1340). Index generation time is about the same. But the solve times improve for the larger solves (marked with *):
This is the 6th of the chained PRs for adding indexes to spk solves:
new_unchecked()constructors to spk schema objects #1337spk repo indexsubcommand for index generation and updates #1340