1 unstable release
new 0.0.1 | Apr 25, 2025 |
---|
#7 in #swisstable
98 downloads per month
Used in matchete
665KB
9K
SLoC
hashish
π¬ A fork of
hashbrown
with a chill name. Same fast hash maps, open to experiments.
hashish
is a high-performance hash map and hash set implementation in Rust, based on the amazing work done in hashbrown
. Itβs fast, flexible, and battle-tested β just with a slightly more relaxed name.
Think of it as the same hash table core that powers Rustβs standard HashMap
, but now with room to tinker, explore new ideas, or just enjoy the vibes.
To help with reading it correctly, think of it as hash-ish (pronounced hash-ihsh). The name reflects both the concept of hashing (as in hash maps and sets) and a bit of a chill vibe β a fun, laid-back approach to a powerful data structure.
π Features
- β
Drop-in replacement for
hashbrown
- π§ͺ Experimental playground for hash table tweaks and optimizations
- π¦ Supports raw entry API, custom allocators, and more
- π¨ Powered by SwissTable-style probing and SIMD
π¦ Usage
Add this to your Cargo.toml
:
[dependencies]
hashish = "0.0.1"
Dependencies
~285KB