aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Glatting <dennisg@gnu.org>1991-11-21 22:25:19 +0000
committerDennis Glatting <dennisg@gnu.org>1991-11-21 22:25:19 +0000
commitc97e400f3060856d3717f5a6d1460529b0135728 (patch)
tree70a9487fedbe1f10d48b18d533e6b3f99af9d651
parentc13029bc889e0b441f14a3c39d2146df84ed9e89 (diff)
downloadgcc-c97e400f3060856d3717f5a6d1460529b0135728.zip
gcc-c97e400f3060856d3717f5a6d1460529b0135728.tar.gz
gcc-c97e400f3060856d3717f5a6d1460529b0135728.tar.bz2
deleted hash mask information from hash struct.
changed hashing algorithm. those values are no longer needed. From-SVN: r65
-rw-r--r--gcc/objc/hash.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h
index ae87d5b..f7c1b57 100644
--- a/gcc/objc/hash.h
+++ b/gcc/objc/hash.h
@@ -21,10 +21,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- $Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.h,v 0.2 1991/11/07 22:30:54 dennisg Exp dennisg $
+ $Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.h,v 0.3 1991/11/07 23:23:40 dennisg Exp dennisg $
$Author: dennisg $
- $Date: 1991/11/07 22:30:54 $
+ $Date: 1991/11/07 23:23:40 $
$Log: hash.h,v $
+ * Revision 0.3 1991/11/07 23:23:40 dennisg
+ * implemented hash table expansion as suggested by rms.
+ *
* Revision 0.2 1991/11/07 22:30:54 dennisg
* added copyleft
*
@@ -93,18 +96,6 @@ typedef struct cache {
"theNodeTable"). */
entriesInHash; /* Current number of entries
in ther hash table. */
- /*
- * Variables used to compute hash
- * values.
- */
- u_int mask, /* The number of bits set
- in the mask that is
- contained in the next
- member variable. */
- numberOfMaskBits; /* Number of bits used for
- the mask. Useful for
- efficient hash value
- calculation. */
/*
* Variables used to implement indexing
* through the hash table.