< 返回版块

3tieto 发表于 2026-11-20 11:48

ihash 0.1.0 是跨平台一致的非加密哈希库,提供 32 / 64 / 128 / 256 位摘要、扩展输出与可寻址流密码。

4 台主机(Apple M2 Max、Intel Xeon Platinum 8269CY、AMD EPYC、ARM Neoverse-N1)实测,切片场景几何平均吞吐 19.84 GiB/s,对照 gxhash4 17.74、foldhash_fast 10.07、xxh3 8.45;HashMap 多键型综合 38.9 Mop/s。

跨平台几何平均吞吐对比

32 / 64 / 128 / 256 位全部零失败通过 smhasher3 全部 20 套检验。输出在 x86_64、aarch64、标量后备与软件 SIMD 间逐位一致;支持 #![no_std] 与 C ABI。

代码库:https://atomgit.com/i18n-site/rs/tree/main/ihash

crate:https://crates.io/crates/ihash

文档:https://docs.rs/ihash

评论区

写评论

还没有评论

1 共 0 条评论, 1 页