From 322f8901b52cfdb0ce7919f5e91179eb666cbc0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 16 Mar 2003 20:28:37 +0100
Subject: [PATCH] Now uses size_t for PIKE_HASH_T again, since the performance
 problem was elsewhere.

Rev: src/block_alloc.h:1.66
---
 src/block_alloc.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/block_alloc.h b/src/block_alloc.h
index 4d31a62fd0..4b53c8e9fc 100644
--- a/src/block_alloc.h
+++ b/src/block_alloc.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: block_alloc.h,v 1.65 2003/03/16 19:17:07 grubba Exp $
+|| $Id: block_alloc.h,v 1.66 2003/03/16 19:28:37 grubba Exp $
 */
 
 #undef PRE_INIT_BLOCK
@@ -42,10 +42,7 @@
   } while (0)
 
 #ifndef PIKE_HASH_T
-/* Used to be size_t, but that led to performance problems
- * on 64-bit architectures without % on 64bit unsigned.
- */
-#define PIKE_HASH_T	unsigned INT32
+#define PIKE_HASH_T	size_t
 #endif /* !PIKE_HASH_T */
 
 #ifdef PIKE_RUN_UNLOCKED
-- 
GitLab