commit | 7c4a9640028b6bf4ff635caeea75089cdad1a779 | [log] [tgz] |
---|---|---|
author | Eric Haszlakiewicz <erh+git@nimenees.com> | Sat Mar 31 17:33:58 2012 -0500 |
committer | Keith Derrick <keith.derrick@palm.com> | Mon Apr 02 07:53:25 2012 -0700 |
tree | 17ea82874c4705ad3900c4f23b35df1691139f19 | |
parent | e6668b1406de33e29a0f91bc93f448a2423230d2 [diff] |
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.