commit | 64c0ca3690f98e978fd2fc8c6ca645243c27e3db | [log] [tgz] |
---|---|---|
author | Eric Haszlakiewicz <erh+git@nimenees.com> | Sat Mar 31 17:33:58 2012 -0500 |
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | Sat Mar 31 17:33:58 2012 -0500 |
tree | 17ea82874c4705ad3900c4f23b35df1691139f19 | |
parent | aef439a1750a69c4721df50b83d696218a60db49 [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.