rust-phf: the perfect hash function
Tobias Bieniek made MIME type handling in the crates.io server infinitely faster by using perfect hash functions with the rust-phf crate and moving work from runtime to compile time.
➡️ Read the details in his latest blog post: https://simplabs.com/blog/2022/06/23/the-perfect-hash-function/