Recently, I wrote a post about my ee_dict generic C hash-table implementation (link)
ee_dict works without any template-like macro declarations required, all necessary information about type (size and alignment) is specified in runtime
u/jacksaccountonreddit did a benchmark (link) and compared my table with fast C/C++ ones (absl::flat_hash_map, boost::unordered_flat_map, CC, khashl, STC and Verstable)
The results show that ee_dict is often faster than khashl and STC, and in some cases even faster than absl.
We also had interesting discussions, and I implemented some of the reasonable suggestions:
- Custom hash-functions support
- Proper alignment for safe access to keys and values
- Iterator over (key, value) pairs
- Usage example
GitHub repository: https://github.com/eesuck1/eelib/tree/master
[link] [comments]


![[macOS] [Mac App Store - Game deals post #4 - DEATH STRANDING DIRECTOR'S CUT, Cyberpunk 2077: Ultimate, Frostpunk 2, The Medium, DREDGE and more at discounted prices.]](https://www.browardlocals.com/hello.gif)
![[iOS][Mac] Lifetime Pro IAP $10 → Free (48h) — RecordMark — voice notes with pins & transcription](https://external-preview.redd.it/YtBQSbs6xMBS__OIrr9eC4Ek71sFJIkh4c0So1yZWNc.png?width=640&crop=smart&auto=webp&s=0744d122255bc144037a76e5c4f087b72aa1cd1b)
![The Alabama Solution Trailer (2025) [1:57:00]](https://external-preview.redd.it/Djo00T_SWKRom0I3g_WiEUUbwfq9p7SdtGkTs_4kTak.jpeg?width=320&crop=smart&auto=webp&s=6cbbaea250ec8dd60e8a8db9f8e82ab1147b0172)


English (US) ·