Andrew Kelley 9/15/2018

String Matching based on Compile Time Perfect Hashing in Zig

Read Original

This technical article details the implementation of a compile-time perfect hashing algorithm for string matching in Zig. It demonstrates the API, shows how it provides compile-time error checking for missing cases and runtime safety for undeclared strings, and includes a breakdown of the hash function's implementation.

String Matching based on Compile Time Perfect Hashing in Zig

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week