X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/14d7100dc1e40351ee02bd1c0d2f1496f547b9ec..573eadb534c42c4feace5e493cc135dd5e7b00d9:/unihash.h diff --git a/unihash.h b/unihash.h index 5fb5741..dfc5b79 100644 --- a/unihash.h +++ b/unihash.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: unihash.h,v 1.1 2003/10/12 14:43:24 mdw Exp $ + * $Id: unihash.h,v 1.2 2003/12/14 14:45:30 mdw Exp $ * * Simple and efficient universal hashing for hashtables * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: unihash.h,v $ + * Revision 1.2 2003/12/14 14:45:30 mdw + * Test universal hashing and fix bugs. + * * Revision 1.1 2003/10/12 14:43:24 mdw * Universal hashing. * @@ -50,7 +53,7 @@ * $m_{n-1}, m_{n-2}, \ldots, m_2, m_1, m_0$% in %$\gf{q}%. * Then we compute * - * %$H_k(M) = k^{n+1} \sum_{0\le i