An error occurred fetching the project authors.
  1. 12 Jan, 2022 1 commit
  2. 06 Jan, 2021 1 commit
  3. 01 Aug, 2018 1 commit
  4. 26 Jul, 2018 1 commit
  5. 16 Aug, 2017 1 commit
  6. 14 Aug, 2017 1 commit
  7. 06 Apr, 2017 2 commits
  8. 05 Apr, 2017 1 commit
    • James Edwards-Jones's avatar
      Extracted ProtectableDropdown to clean up Project#open_branches · 407f20be
      James Edwards-Jones authored
      Makes it clear this is only used in dropdowns, instead of cluttering up Project class. Since we only care about branch names, it is also possible to refactor out a lot of the set/reject logic.
      
      A benchmark on Array/Set subtraction favoured using Arrays. This was with 5000 ‘branches’ and 2000 ‘protections’ to ensure a similar comparison to the commit which introduced using Set for intersection.
      
      Comparison:
         array subtraction:      485.8 i/s
           set subtraction:      128.7 i/s - 3.78x slower
      407f20be
  9. 03 Apr, 2017 1 commit
    • James Edwards-Jones's avatar
      Extracted ProtectableDropdown to clean up Project#open_branches · b8c7bef5
      James Edwards-Jones authored
      Makes it clear this is only used in dropdowns, instead of cluttering up Project class. Since we only care about branch names, it is also possible to refactor out a lot of the set/reject logic.
      
      A benchmark on Array/Set subtraction favoured using Arrays. This was with 5000 ‘branches’ and 2000 ‘protections’ to ensure a similar comparison to the commit which introduced using Set for intersection.
      
      Comparison:
         array subtraction:      485.8 i/s
           set subtraction:      128.7 i/s - 3.78x slower
      b8c7bef5