• Distributed under the GPL, v2, or any later version, at your option
    This page contains a pair of generic hashing implementations for C.
    1. A static, in a sense "templatized" implementation, which does static type checking, and should be fast, but will use one copy of the functions for each data type to be hashed.
    2. A dynamic implementation, that will allow you to use copy of the code for all your data types, but the type checking is less thorough.
    You can download the code here.


    323

    Back to Dan's tech tidbits

    You can e-mail the author with questions or comments: