In the core iteration code, HashMap.iterate, we use defer close(ch), which has been shown to add some small execution time. We should perform some benchmarks to determine whether it is sensible to be explicit about the channel closing, rather than using defer.