[] > This probably should be done as four more patches to become > reviewable. > > - One to use the CONVERT_STAT_BITS a lot more for the conversion > decision than before, > > - another to allow the caller to tell gather_stats() to give up > early with the "search_only" bits, > > - another to update the get_*_convert_stats() functions to use > get_convert_stats_sha1(), and then finally > > - use the streaming interface when reading from blob and file. > > or something line that. Many thanks for the detailed review. Let's see if I can come up with a better series the next weeks or so.