Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mtdewcmu
on Dec 13, 2015
|
parent
|
context
|
favorite
| on:
look(1): lines beginning with given string
At some point the cost of scanning a long file will overcome the cost of doing log(n) seeks. On short files, it really doesn't matter what you do, searching will be fast regardless.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: