hashtable: some refactoring, signed-ness
authorBrian Norris <banorris@uci.edu>
Sat, 11 Aug 2012 00:42:40 +0000 (17:42 -0700)
committerBrian Norris <banorris@uci.edu>
Sat, 11 Aug 2012 00:42:40 +0000 (17:42 -0700)
commite32494ed2cfb8353b7ccfab60a89421314ee9068
tree8a5052aa42b4f4373ddcd05c8cdba338de27186e
parentc7d1fa37dfd38155acd2137fbeb9b7e5703fb3dc
hashtable: some refactoring, signed-ness

Since 'capacity' is unsigned, so should the index that compares with it.

The (duplicated) compare/resize code can be a bit shorter and (IMO) easier to
read.
hashtable.h