logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

rust-phf: the perfect hash function

153 points Regular_Amphibian_11 2022-06-23 14:25:07
View on Reddit ↗

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/

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com