#hash-table #collection #filter #open #tutorial #resolution

caffeine

Collection of data structures I'm writing for fun. Originally written for use with my crafting interpeters tutorial implementation.

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

#907 in Data structures

Custom license

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 lmao

Me when I started writing this:
gif of shaking hands

Dependencies