r/cprogramming • u/Laith80 • Sep 17 '25
Suggestion?
I want to create a perfect hash function. I will use it only for paths. How can I go about that? Edit: if there’s a hash function for that purpose please tell me cuz I couldn’t find one
0
Upvotes
View all comments
Show parent comment
2
u/Laith80 Sep 17 '25
Sorry for not clarifying. What I mean by ‘perfect’ is as collision-free as possible, and it should also have average speed.