dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/image image.h,1.26,1.27


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image image.h,1.26,1.27
Date: Sat, 21 Jun 2003 21:20:38 -0400

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv2075/image

Modified Files:
        image.h 
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: image.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/image.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** image.h     13 Jun 2003 06:44:04 -0000      1.26
--- image.h     22 Jun 2003 01:20:35 -0000      1.27
***************
*** 63,68 ****
   * and the information about the classes, methods, etc, in them.
   */
! #define       IL_CONTEXT_HASH_SIZE    512
! #define       IL_CONTEXT_NS_HASH_SIZE 64
  struct _tagILContext
  {
--- 63,68 ----
   * and the information about the classes, methods, etc, in them.
   */
! #define       IL_CONTEXT_HASH_SIZE    509
! #define       IL_CONTEXT_NS_HASH_SIZE 67
  struct _tagILContext
  {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]