Skip to content

add ptrhash implementation for 2.6#91

Merged
zhengbuqian merged 4 commits into
zilliztech:2.6from
sparknack:add-ptrhash-26
May 30, 2026
Merged

add ptrhash implementation for 2.6#91
zhengbuqian merged 4 commits into
zilliztech:2.6from
sparknack:add-ptrhash-26

Conversation

@sparknack
Copy link
Copy Markdown
Contributor

@sparknack sparknack commented May 29, 2026

  • Add a header-only PtrHash implementation with integer, string, string_view, prehashed-key, serialization, and mmap loading support.
  • Add correctness and stability coverage for minimal permutation guarantees, integer/string corner cases, duplicate rejection, corrupt serialized layouts, remap bounds, mmap move/error paths, non-member query bounds, concurrent query stability, and mutated serialized input.
  • Tighten deserialization and empty-input parameter validation so invalid data fails before it can produce out-of-range results.
  • Add explicit mmap cleanup on failed mapped-open validation and test that corrupt mmap input leaves no mapped file behind on Linux.

@zhengbuqian zhengbuqian merged commit 2748c35 into zilliztech:2.6 May 30, 2026
2 checks passed
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.

2 participants