You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds StructLikeSet<bool kValidate = true>, a hash set for StructLike
rows backed by an internal arena allocator.
Key design points:
- Deep-copies inserted rows into a monotonic_buffer_resource arena;
string data and nested struct/list/map scalars are fully materialized so
the set owns its memory independently of the caller
- Transparent heterogeneous lookup: Contains() does not allocate a
temporary key
- Hash and equality semantics match the Java reference implementation
(String.hashCode, StructLikeHash, ListHash; float/double use canonical
NaN bits and distinguish ±0.0)
- Schema validation (field count + scalar type) on Insert/Contains; can
be disabled via kValidate=false (UncheckedStructLikeSet) when the caller
guarantees conformance
- Internal Arena wrapper containers use std::pmr::vector
0 commit comments