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]


![The Gang Republic: Inside Haiti’s New Order (2026) - ~3 million people living in the grips of all-out gang war. France24 spent a fortnight filming in and around the Haitian capital, speaking to a population held hostage by this drawn-out crisis (CC) [00:52:38]](https://external-preview.redd.it/0j1B98qWy2MAsjLEwjT10EbknBToMVuWRJ-tUeZsTso.jpeg?width=320&crop=smart&auto=webp&s=041d55dee546ef807e7eda2e0d1d013111f02a25)


English (US) ·