Branch: Tag:

2003-03-16

2003-03-16 19:28:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses size_t for PIKE_HASH_T again, since the performance problem was elsewhere.

Rev: src/block_alloc.h:1.66

2:   || 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:    } 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