A new hash table for the Lwan web server

3 points by lafp


e12e

Now there's a name I have not heard in a long, long time...

The H2 hash has only 7 bits, with one bit left to signal if an item is empty, in use, or deleted.

How does all that fit in a single bit?

LeahNeukirchen

Source code: https://github.com/lpereira/lwan/blob/master/src/lib/hash.c