FastCHD
A morden implement of CHD/SHD algorithm.
Install / Use
/learn @PeterRK/FastCHDREADME
Skew Hash and Displace
Algorithm Discription
This algorithm introduces an improvement on CHD, using skew hash as first level hash function to make elenments in head buckets more than those in tail buckets。
Because it's more resonable to use skew hash instead of uniform hash in first level hashing, SHD can achieve higher density than CHD with almost the same performance.
Building dictionary with one billion data costs a dozen of seconds, a little faster than fastCHD (can be found in chd branch).
It can provide sub-billion level QPS on single machine, just like fastCHD (can be found in chd branch).
Key Features
- extreme low space overhead (3.9 bits per item)
- amazing read performance
- fast build with extreme low false failure rate
- no online writing
- work on CPU support little-endian unaligned memory access (X86,ARM,RISC-V...)
Other Solutions
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
