collections: added comment to hash table traversal reset
authorRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 9 Oct 2017 15:28:13 +0000 (17:28 +0200)
committerRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 9 Oct 2017 15:28:13 +0000 (17:28 +0200)
commitbb6a371378c35a4166ab1e4fe9343865cf60b307
treeea78a5e9a9d8e6592e42ae8fd59469e995479f19
parent7fccf21160cfa43dab6c015bea2962f0f3478611
collections: added comment to hash table traversal reset

The hash table when only partially traversed and then reset
still contains state that is not reset (buckets). This state
prevents a second traversal withouth error and the hash
table has to be always fully traversed

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>
lib/collections/hash_table.c