From ee48d2771f45a210a25cc354d0dbff5f69821f8b Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 3 May 2020 20:34:50 -0700 Subject: removed the day's confusion. added debug and release mode to makefile --- include/libn/macro/map.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/libn/macro/map.h') diff --git a/include/libn/macro/map.h b/include/libn/macro/map.h index 2e65570..37b7dfd 100644 --- a/include/libn/macro/map.h +++ b/include/libn/macro/map.h @@ -223,15 +223,3 @@ static const double __ac_HASH_UPPER = 0.77; --map->size; \ } \ } - -static int32 hash_string(byte *s) { - int32 h; - byte *it; - - h = (int32)(*s); - if (h != 0) { - for (it = s; *it; ++it) - h = (h << 5) - h + (int32)*it; - } - return h; -} -- cgit v1.2.1