perf: fix linearity in (HashSet|HashMap).erase
2 files changed