Re: [PATCH] Don't search files with an unset "grep" attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]