if you're mapping over both keys and values, iterate over `map.getValue().entrySet()` to avoid all the lookups