Skip to content

refactor(xor): keep the fingerprint layout private - #334

Merged
tisonkun merged 17 commits into
apache:mainfrom
tisonkun:codex/xor-private-fingerprints
Nov 6, 2026
Merged

tisonkun merged 17 commits into
apache:mainfrom
tisonkun:codex/xor-private-fingerprints

Conversation

@tisonkun

@tisonkun tisonkun commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Use XorFilter::serialize and XorFilter::deserialize to persist and restore a filter. Remove the raw fingerprint import and accessors so callers can work with the standard wire format independently of the filter's in-memory representation.

Xor8 deserialization copies the validated payload directly into its owned array. The sharded query benchmark builds each implementation from the same keys and initial seed.

Validated with cargo x check, cargo x test, cargo x lint, and a smoke run of the sharded query benchmark.

@tisonkun
tisonkun marked this pull request as ready for review November 6, 2026 08:53
@tisonkun
tisonkun requested a review from ariesdevil November 6, 2026 09:51
@tisonkun
tisonkun merged commit 91cab4e into apache:main Nov 6, 2026
10 checks passed
@tisonkun
tisonkun deleted the codex/xor-private-fingerprints branch November 6, 2026 10:56
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