Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-03-07 12:22:05 +0300
committerPhil Hughes <me@iamphill.com>2019-03-07 12:22:05 +0300
commitc49d4a4985c806aa62dcd4899013143484b5d3c6 (patch)
treead43a15e05364b9e24c3eceb9de37b8e37afb51a /GITLAB_PAGES_VERSION
parent80fea82f3ab6afd486884020710eb01c06b048d9 (diff)
Improve files_decorator performance
**How?** Previously the files_decorator inserted parent folders inefficiently. It started at the first part and ensured each was inserted. Since the file entries are given to use in alphabetical order, we can start at the last part of the blob's parents. If this exists, we can short circuit and be done inserting parents. **What else?** - Improve performance of decorateData. The object spread operator is not needed because the object is brand new.
Diffstat (limited to 'GITLAB_PAGES_VERSION')
0 files changed, 0 insertions, 0 deletions