rts/Hash: Don't iterate over chunks if we don't need to free data
When freeing a HashTable
there is no reason to walk over the hash list
before freeing it if the user has not given us a dataFreeFun
.
Noticed while looking at #24410.
When freeing a HashTable
there is no reason to walk over the hash list
before freeing it if the user has not given us a dataFreeFun
.
Noticed while looking at #24410.