gitlab-org--gitlab-foss/changelogs/unreleased/optimise-import-performance.yml
Kamil Trzciński 8d1e97fc3b Optimise import performance
- Fix `O(n)` complexity of `append_or_update_attribute`,
  we append objects to an array and re-save project
- Remove the usage of `keys.include?` as it performs `O(n)`
  search, instead use `.has_key?`
- Remove the usage of `.keys.first` as it performs a copy
  of all keys, instead use `.first.first`
2019-07-24 16:24:28 +02:00

5 lines
86 B
YAML

---
title: Optimise import performance
merge_request: 31045
author:
type: performance