Re: [PATCH] Don't search files with an unset "grep" attribute
Jeff King <peff@peff.net> 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.
> 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.
> ... However, for large files, it might be nice to have a streaming grep
> interface anyway, and (3) could be part of that.