Skip to content

v1.0.0-alpha.8

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Jul 22:16
· 10 commits to master since this release
schema: widen the dispatch key to 64-bit for the wordwise dispatch hash

hashes' hh/hhl now use the word-at-a-time wordwise/wordwise_ci (64-bit), which benchmarks fastest for perfect-hash dispatch on real key sets (18-51% over byte-at-a-time FNV on Xapiand's reserved names and field types). The hash-once dispatch in schema threads the hashed field name through has_dispatch_* / _dispatch_* functions; widen those key parameters from uint32_t to uint64_t so a 64-bit hash is not truncated. Every other dispatch site switches on dense phf slots, unaffected by hash width. Validated: full build + link, 7/7 unit tests, and E2E parity with the baseline (only known-volatile fields and the pre-existing cuuid-v6 UUID change diverge).