• Show log

    Commit

  • Hash : b2559f47
    Author : Carlos Martín Nieto
    Date : 2014-05-08T17:14:59

    pack: preallocate a 64-element chain Dependency chains are often large and require a few reallocations. Allocate a 64-element chain before doing anything else to avoid allocations during the loop. This value comes from the stack-allocated one git uses. We still allocate this on the heap, but it does help performance a little bit.