Skip to content

Robj/filtered ranges - #690

Merged
rtjohnso merged 24 commits into
mainfrom
robj/filtered-ranges
Oct 14, 2026
Merged

rtjohnso merged 24 commits into
mainfrom
robj/filtered-ranges

Conversation

@rtjohnso

Copy link
Copy Markdown
Collaborator

Allow user to specify a key predicate kp during iterator construction. Only keys matching the predicate will be returned.

When a predicate is provided, users may also allow user to specify a filter key fk. The iterator will use the routing filters to prune branches that it explores. The iterator will only visit branches that contain at least one key k such that h(k) == h(fk), where h is the hash function specified in the data config.

NOTE: in order for this to work properly, the key predicate pk must guarantee that:
for all keys k and hash function seeds s, pk(k) ==> h(k, s) == h(fk, s)

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for splinterdb canceled.

Name Link
🔨 Latest commit 6a4959a
🔍 Latest deploy log https://app.netlify.com/projects/splinterdb/deploys/6acf05a42796211880544027

@rtjohnso
rtjohnso enabled auto-merge (squash) October 14, 2026 04:24
@rtjohnso
rtjohnso disabled auto-merge October 14, 2026 04:24
# Conflicts:
#	docs/disk-format-pr.md
#	docs/on-disk-format.md
#	src/routing_filter.c
@rtjohnso
rtjohnso merged commit fc0bc8f into main Oct 14, 2026
113 of 114 checks passed
@rtjohnso
rtjohnso deleted the robj/filtered-ranges branch October 14, 2026 05:59
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