• Show log

    Commit

  • Hash : b59c73d3
    Author : Russell Belfer
    Date : 2012-05-17T13:06:20

    Optimize away git_text_gather_stats in diff GProf shows `git_text_gather_stats` as the most expensive call in large diffs. The function calculates a lot of information that is not actually used and does not do so in a optimal order. This introduces a tuned `git_buf_is_binary` function that executes the same algorithm in a fraction of the time.