News for hackers. Stuff that matters.
Re:Uthash – C macros for hash tables and more by marginalia_nu on Saturday March 26, 2022 @03:35PM (#30814664)
Problem is I don't know the items beforehand, instead I need to build the hash as I encounter new pages. I don't know any way of reconcile that with a minimal perfect hash.
Re:Uthash – C macros for hash tables and more by rurban on Saturday March 26, 2022 @04:07PM (#30814922)
ok, with trillions keys creating a CHM MPH is risky, and needs a few secs. then your external hash is good enough.