← Back to context

Comment by cma

7 years ago

Its a project with several million lines of code.

If grep is hitting 100% utilization and isn't just file system bound, and you are dealing with ascii stuff, you can speed it up a lot of times by prepending 'LANG=C', so that it doesn't have to deal with unicode.

I'll throw in my vote to try something like ack / ag that have better defaults for code-grepping.