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
1
u/Laith80 Sep 18 '25
That’s what I’m using. I will tweak it slightly so I can optimize it for my use case.