Project

General

Profile

Actions

Patch #30828

closed

Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements

Added by Pavel Rosický about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

#select iterates through all records and creates a new array which isn't necessary


Files

git_adapter.rb.patch (854 Bytes) git_adapter.rb.patch Pavel Rosický, 2019-02-18 10:38
git_adapter.rb.patch (854 Bytes) git_adapter.rb.patch fixed Pavel Rosický, 2019-02-18 13:20
Actions

Also available in: Atom PDF