Increase buzhash width and remove typo
authorJonathan Dieter <jdieter@gmail.com>
Thu, 3 May 2018 19:50:09 +0000 (22:50 +0300)
committerJonathan Dieter <jdieter@gmail.com>
Thu, 3 May 2018 19:50:09 +0000 (22:50 +0300)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
src/buzhash/buzhash.c

index 78062718f768105334b697cf4386ffed4aad436a..48c34dc13f0f5e5e390368a13e8b4f42335e28d6 100644 (file)
@@ -20,7 +20,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
-y
+
 #include "buzhash.h"
 
 #include <string.h>
@@ -94,7 +94,7 @@ const uint32_t buzhash_table[] = {
   0x7bf7cabc, 0xf9c18d66, 0x593ade65, 0xd95ddf11,
 };
 
-const size_t buzhash_width = 4096;
+const size_t buzhash_width = 8192;
 
 uint32_t
 buzhash (const char *s)