[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine lib_string.c,1.32,1.33
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine lib_string.c,1.32,1.33 |
Date: |
Sat, 21 Jun 2003 21:20:38 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv2075/engine
Modified Files:
lib_string.c
Log Message:
Adjust some hash table sizes to be prime numbers rather than powers of two,
to help spread items more evenly across the table.
Index: lib_string.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_string.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** lib_string.c 15 May 2003 06:02:07 -0000 1.32
--- lib_string.c 22 Jun 2003 01:20:35 -0000 1.33
***************
*** 1042,1046 ****
* Size of the intern'ed string hash table.
*/
! #define IL_INTERN_HASH_SIZE 512
/*
--- 1042,1046 ----
* Size of the intern'ed string hash table.
*/
! #define IL_INTERN_HASH_SIZE 509
/*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine lib_string.c,1.32,1.33,
Rhys Weatherley <address@hidden> <=