Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nikcub
on April 1, 2011
|
parent
|
context
|
favorite
| on:
Why GNU grep is fast
Yes but you would think that a reasonable default solution would be to use both. ie. mmap by default and then if the file is larger than MAX (based on memory use, file size) then use read.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: