Define a LH_LOAD_FACTOR constant and note the range that it can be set to.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 31 Mar 2012 22:33:58 +0000 (17:33 -0500)
committerKeith Derrick <keith.derrick@palm.com>
Mon, 2 Apr 2012 14:53:25 +0000 (07:53 -0700)
commit7c4a9640028b6bf4ff635caeea75089cdad1a779
tree17ea82874c4705ad3900c4f23b35df1691139f19
parente6668b1406de33e29a0f91bc93f448a2423230d2
Define a LH_LOAD_FACTOR constant and note the range that it can be set to.
Change the resize check from "count > size" to "count >= size" to avoid a
potential infinite loop with high load factors and a full hash table.
linkhash.c
linkhash.h