6 releases
0.2.0 | Sep 3, 2024 |
---|---|
0.1.4 | Sep 1, 2024 |
0.1.3 | Aug 6, 2024 |
0.1.1 | Jul 28, 2024 |
#1051 in Data structures
55 downloads per month
1.5MB
443 lines
Simple hash table implementation in Rust. Uses open addressing for collision resolution (even though open addressing is a stupid idea). Written for use with my crafting interpeters tutorial implementation.
Named caffeine because the night I made this, I accidentally had so much Coffee that my hands were literally shaking. I originally callede it "tremor" but then changed the name to Caffeine so I could claim the crate name on crates.io from a name squatter.
The story
What happened is I ran out of coffee filters and decided to just make coffee without one and hope it would be fine. When I drank it I started tweaking instantly. It was so bad I had a hard time typing and even focusing on what I was doing lmaoMe when I started writing this: