78 points · by maydemir · 4y ago · 28 comments
https://github.com/FRRouting/frr/blob/master/lib/typesafe.h
https://github.com/FRRouting/frr/blob/master/doc/developer/l...
(disclaimer: it's my work.)
For those who are interested in faster hashmaps, I tried bunch of hashmaps and this one performs better than others. This is for C. Maybe C++ has better hashmaps.