Jeff King <peff@xxxxxxxx> writes: > There are a few optimizations I didn't do that you could put on top: > > 1. When "-a" is given, we can avoid the attribute lookup altogether. Correct. > 2. When "-I" is given, we can actually check attributes _before_ > loading the file or blob into memory. This can help with very large > binaries. Nice. > ... However, for large files, it might be nice to have a streaming grep > interface anyway, and (3) could be part of that. Even nicer ;-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html