vyre-libs 0.6.2

vyre Category A library ecosystem - pure-IR compositions over vyre-ops hardware primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Vector-widened string interning.
//!
//! # Idea (G9)
//!
//! Tier-B TOML label families carry 60 k+ function-name strings. At
//! load time, build a CHD (compress-hash-displace) perfect hash over
//! all label strings. GPU lookup becomes one `subgroupShuffle` +
//! one DRAM load  -  ~4 cycles. Replaces the linear / tree-based
//! resolver in the current label path.
//!
//! Feature-gated behind `intern` (off by default  -  enabled by
//! a downstream analyzer's label resolver when the label corpus grows past the
//! linear threshold).

/// CHD perfect-hash construction + lookup.
pub mod perfect_hash;

pub use perfect_hash::{build_chd, PerfectHash};