r/C_Programming • u/compilersarefun • Jun 23 '26
Two Indexed Hash Tables
https://vnmakarov.github.io/data%20structures/c/c++/open-source/2026/06/23/two-indexed-hash-tables.html
27
Upvotes
r/C_Programming • u/compilersarefun • Jun 23 '26
View all comments
Show parent comment
1
u/compilersarefun Jun 24 '26
I've added results for 20M keys/50K key interval to https://github.com/vnmakarov/c_cpp_hash_tables_benchmark.
Here is the direct link https://htmlpreview.github.io/?https://github.com/vnmakarov/c_cpp_hash_tables_benchmark/blob/main/AMD-20M.html
It seems that memory heat table is probably wrong (I am going to figure out why it is zero for some tables). Geomean and average performance of ihtab and boost are close. For some cases boost is better, for some ihtab_cpp is better. The new results brought me some ideas what to try in the design to improve performance more.
Actually the discussion of the index tables was very useful for me. I'll continue my work on them.