Skip to content

rts/Hash: Don't iterate over chunks if we don't need to free data

Ben Gamari requested to merge wip/hash-free into master

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.

Merge request reports