Closed
Description
unordered-containers/Data/HashMap/Internal.hs
Lines 1279 to 1286 in 6f1a92f
When fres
is Nothing
, we delete'
k
from m
no matter whether m
contained k
in the first place. We could skip the deletion though if mv
is Nothing
.
I'm surprised that the code doesn't already do that. Are there reasons against doing it?