Re:Modern Perfect Hashing
by zvr on Saturday October 25, 2025 @05:34AM
(#45702513)
I've written code that, during initialization, after all keys have been collected, essentially called gperf to create the lookup function, compiled it, and then dynamically loaded it, so that the (long-running) program would be able to use it.
[ Parent
| on HN ]
That means you need to deploy with a compiler etc., not ideal.
Re:Modern Perfect Hashing
by HackerThemAll on Sunday October 26, 2025 @06:43PM
(#45715766)
This situation doesn't have ideal solution. You either bundle compiler for the best speed at runtime, or you lose efficiency.