• Show log

    Commit

  • Hash : a97b769a
    Author : Carlos Martín Nieto
    Date : 2016-04-27T12:00:31

    odb: avoid inflating the full delta to read the header
    
    When we read the header, we want to know the size and type of the
    object. We're currently inflating the full delta in order to read the
    first few bytes. This can mean hundreds of kB needlessly inflated for
    large objects.
    
    Instead use a packfile stream to read just enough so we can read the two
    varints in the header and avoid inflating most of the delta.