• Igor's avatar
    Execute limited request for diff commits instead of preloading · 92778fcf
    Igor authored
    The number of diff commits can be overwhelming sometimes and
    preloading them and iterating over them using map
    can be very expensive
    
    We'd better make multiple limited requests (even if it's N+1)
    then running into a subtle case when thousands of elements
    are loaded into memory and iterated
    92778fcf
merge_request.rb 45.3 KB