-
Qingyu Zhao authored
`.keys.first` and `.values.first` load all keys/values into memory. This cop use `.each_key.first` and `.each_value.first` to reduce memory usage and execution time.
6190421d
`.keys.first` and `.values.first` load all keys/values into memory. This cop use `.each_key.first` and `.each_value.first` to reduce memory usage and execution time.