[PATCH] Change hash_mem to an inline function.
Implementing hash_str as hash_mem(..., strlen()) is actually quite slow, so create a separate hash_str. Now hash_mem has only one call site, and both are quite small, so we make them both inline.
Showing
Please register or sign in to comment