summaryrefslogtreecommitdiff
path: root/libihash/ihash.c
AgeCommit message (Collapse)Author
2001-08-152001-08-15 Roland McGrath <roland@frob.com>Roland McGrath
* sizes.c: New file, a list of prime numbers useful for table sizes. * priv.h (_ihash_sizes, _ihash_nsizes): Declare. (_ihash_nextprime): Don't. * ihash.c (ihash_add): Select sizes from the _ihash_sizes array instead of using _ihash_nextprime. * Makefile: Clean up whitespace, reorder all the variable definitions. (SRCS): Remove primes.c, add sizes.c instead. (OBJS): Define dynamically.
1997-06-20(ihash_create):Miles Bader
Initialize CLEANUP & CLEANUP_ARG fields.
1996-04-11Include "priv.h".Michael I. Bushnell
1996-04-11(ihash_add): New name of nextprime.Michael I. Bushnell
1995-08-07(ihash_locp_remove): Get rid of the optimization to use HASH_EMPTY instead ofMiles Bader
HASH_DEL when the next position on the chain is empty -- different hash chains may share this cell, and have different next positions, leading to random additional entries sometimes disappearing when deleting something.
1995-03-31Initial revisionMiles Bader