https://github.com/murphsicles/hashbrown
SwissTable hash map for Zeta — fast HashMap/HashSet backend with AA blazing-fast hashing
https://github.com/murphsicles/hashbrown
Last synced: 22 days ago
JSON representation
SwissTable hash map for Zeta — fast HashMap/HashSet backend with AA blazing-fast hashing
- Host: GitHub
- URL: https://github.com/murphsicles/hashbrown
- Owner: murphsicles
- License: mit
- Created: 2026-05-15T20:55:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-15T23:28:23.000Z (3 months ago)
- Last Synced: 2026-05-15T23:44:36.732Z (3 months ago)
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @collections/hashbrown — SwissTable Hash Map for Zeta
Auto-converted from [hashbrown](https://crates.io/crates/hashbrown) v0.17.1 via [Dark Factory](https://github.com/murphsicles/dark-factory).
## Features
- **HashMap / HashSet** — drop-in replacements using Google's SwissTable (AA) hash table algorithm
- **Raw entry API** — low-level control over table operations
- **Table API** — generic hash table for custom key/value types
- **Entry API** — `entry()`, `or_insert()`, `and_modify()`, `or_default()`
- **AHash** — high-speed DoS-resistant hashing via `@std/ahash`
## Performance
SwissTable is typically 2-3x faster than Rust's standard `HashMap` for most workloads, with lower memory overhead and better cache locality.
## Stats: ~9,738 lines, 0 unsupported items
## License: MIT