-
- Downloads
Avoid excessive recursive calls with Rugged TreeEntries
The Rugged implementation was recursively scanning the repository to create `flat_path` because the post-process step was being called from with a loop. For large repositories, this was significantly slowing things down. Break the call to `rugged_populate_flat_path` out of this loop to make this work efficiently. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59759
Showing
- changelogs/unreleased/sh-fix-rugged-tree-entries.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-rugged-tree-entries.yml
- lib/gitlab/git/rugged_impl/tree.rb 12 additions, 8 deletionslib/gitlab/git/rugged_impl/tree.rb
- spec/lib/gitlab/git/tree_spec.rb 1 addition, 1 deletionspec/lib/gitlab/git/tree_spec.rb
Please register or sign in to comment